Bug 552973 - small leak in prefs.c
small leak in prefs.c
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-09-20 03:16 UTC by Matthias Clasen
Modified: 2009-01-28 02:27 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
a patch (543 bytes, patch)
2008-09-20 03:17 UTC, Matthias Clasen
none Details | Diff | Review

Description Matthias Clasen 2008-09-20 03:16:56 UTC
seeing this in valgrind:

==31466== 7 bytes in 1 blocks are definitely lost in loss record 186 of 6,157
==31466==    at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==31466==    by 0x4758A3: g_malloc (in /lib/libglib-2.0.so.0.1800.1)
==31466==    by 0x48E418: g_strdup (in /lib/libglib-2.0.so.0.1800.1)
==31466==    by 0x8072654: theme_name_handler (prefs.c:1370)
==31466==    by 0x8073F5B: meta_prefs_init (prefs.c:549)
==31466==    by 0x807088B: main (main.c:395)
Comment 1 Matthias Clasen 2008-09-20 03:17:23 UTC
Created attachment 119028 [details] [review]
a patch
Comment 2 Thomas Thurman 2009-01-28 02:20:05 UTC
Committed with thanks.
http://svn.gnome.org/viewvc/metacity?rev=4094&view=rev

Note You need to log in before you can comment on or make changes to this bug.