After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335322 - Leak reported by valgrind (bonobo_server_info_load)
Leak reported by valgrind (bonobo_server_info_load)
Status: RESOLVED FIXED
Product: bonobo-activation [was: oaf]
Classification: Deprecated
Component: general
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: Michael Meeks
Luis Villa
Depends on:
Blocks:
 
 
Reported: 2006-03-21 08:15 UTC by Kjartan Maraas
Modified: 2006-03-21 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (674 bytes, patch)
2006-03-21 08:16 UTC, Kjartan Maraas
none Details | Review

Description Kjartan Maraas 2006-03-21 08:15:02 UTC
==2417== 643,015 bytes in 41 blocks are definitely lost in loss record 19 of 20
==2417==    at 0x4004F82: malloc (vg_replace_malloc.c:149)
==2417==    by 0x4156F22: g_try_malloc (gmem.c:196)
==2417==    by 0x414319C: g_file_get_contents (gfileutils.c:642)
==2417==    by 0x80547DD: bonobo_server_info_load (object-directory-load.c:571)
==2417==    by 0x8052D8E: update_registry (object-directory-corba.c:206)
==2417==    by 0x805610A: main (activation-server-main.c:471)
Comment 1 Kjartan Maraas 2006-03-21 08:16:16 UTC
Created attachment 61673 [details] [review]
proposed patch
Comment 2 Michael Meeks 2006-03-21 09:31:20 UTC
Doh I'm a dofus :-) of course, please do commit & thanks.
Comment 3 Michael Meeks 2006-03-21 09:40:55 UTC
except of course we want: char *contents = NULL; as well incase the 'file_read_contents' or whatever fails.
Comment 4 Kjartan Maraas 2006-03-21 12:11:23 UTC
Commited.