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 378680 - leak in file_theme_type() in theme-switcher
leak in file_theme_type() in theme-switcher
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
git master
Other Linux
: Normal normal
: ---
Assigned To: Thomas Wood
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-24 00:52 UTC by Thomas Thurman
Modified: 2006-11-27 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the leak (1.00 KB, patch)
2006-11-24 00:56 UTC, Thomas Thurman
committed Details | Review

Description Thomas Thurman 2006-11-24 00:52:33 UTC
file_theme_type() allocates a GnomeVFSURI for the files from each possible kind of theme. If the check is successful, it deallocates the GnomeVFSURI. If not, it leaks it.
Comment 1 Thomas Thurman 2006-11-24 00:56:23 UTC
Created attachment 77085 [details] [review]
Fix the leak
Comment 2 Thomas Wood 2006-11-27 09:18:21 UTC
Confirming. This is an obvious leak.
Comment 3 Thomas Wood 2006-11-27 09:52:12 UTC
Patch was a no brainer, so comitted to both stable (2.16) and HEAD.