gnome-desktop r5285 - trunk/libgnome-desktop
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r5285 - trunk/libgnome-desktop
- Date: Sun, 23 Nov 2008 11:37:21 +0000 (UTC)
Author: cosimoc
Date: Sun Nov 23 11:37:21 2008
New Revision: 5285
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5285&view=rev
Log:
2008-11-23 Cosimo Cecchi <cosimoc gnome org>
* gnome-bg.c: (gnome_bg_finalize): plug a leak in GnomeBG; free the
filename when finalizing the object (#561377).
Modified:
trunk/libgnome-desktop/ChangeLog
trunk/libgnome-desktop/gnome-bg.c
Modified: trunk/libgnome-desktop/gnome-bg.c
==============================================================================
--- trunk/libgnome-desktop/gnome-bg.c (original)
+++ trunk/libgnome-desktop/gnome-bg.c Sun Nov 23 11:37:21 2008
@@ -395,6 +395,8 @@
bg->changed_id = 0;
}
+ g_free (bg->filename);
+
clear_cache (bg);
G_OBJECT_CLASS (gnome_bg_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]