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 307492 - leak in panel-profile.c
leak in panel-profile.c
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-13 11:51 UTC by Kjartan Maraas
Modified: 2005-06-13 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (557 bytes, patch)
2005-06-13 11:52 UTC, Kjartan Maraas
accepted-commit_now Details | Review

Description Kjartan Maraas 2005-06-13 11:51:29 UTC
Found this with valgrind:

==6596== 8 bytes in 1 blocks are definitely lost in loss record 1050 of 11904
==6596==    at 0x1B909222: malloc (vg_replace_malloc.c:130)
==6596==    by 0x1C309F99: g_malloc (gmem.c:137)
==6596==    by 0x1C31A5B1: g_strdup (gstrfuncs.c:91)
==6596==    by 0x1C21ECBB: set_string (gconf-value.c:55)
==6596==    by 0x1C21F7B5: gconf_value_copy (gconf-value.c:732)
==6596==    by 0x1C228855: gconf_client_get_full (gconf-client.c:1280)
==6596==    by 0x1C228E68: gconf_client_get_string (gconf-client.c:1468)
==6596==    by 0x8092F03: panel_profile_delete_toplevel_objects
(panel-profile.c:1479)
==6596==    by 0x8092FC2: panel_profile_delete_toplevel (panel-profile.c:1507)
==6596==    by 0x806DB70: panel_delete_without_query (panel.c:1227)
==6596==    by 0x806DBAB: panel_deletion_response (panel.c:1237)
Comment 1 Kjartan Maraas 2005-06-13 11:52:21 UTC
Created attachment 47706 [details] [review]
proposed patch
Comment 2 Mark McLoughlin 2005-06-13 13:12:55 UTC
Looks good, thanks
Comment 3 Kjartan Maraas 2005-06-13 13:43:36 UTC
Commited on both branches.