Red Hat Bugzilla – Bug 464040
[patch] gkrellm leaks 58 bytes per second
Last modified: 2008-10-07 18:38:41 EDT
Created attachment 317750 [details]
fixes the leak
Description of problem:
gkrellm leaks 58 bytes of memory per second
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. let run gkrellm
2. watch memory use
=32341== 13,817,453 bytes in 237,630 blocks are definitely lost in loss record 201 of 201
==32341== at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==32341== by 0x9534F3: g_malloc (in /lib/libglib-2.0.so.0.1600.5)
==32341== by 0x96D4C8: g_strdup (in /lib/libglib-2.0.so.0.1600.5)
==32341== by 0x80634FA: (within /usr/bin/gkrellm)
==32341== by 0x8063CB7: (within /usr/bin/gkrellm)
gkrellm shouldn't leak
I run several gkrellms at once. After a while, these gkrellm instances begin to eat hundreds of megabytes.
Thanks! Patch applied and a new gkrellm has been build for rawhide, some time ago already actually, but appearantly bugzilla ate my comment back then.
Note 2.3.2 is out upstream now so I'll update to that soon.