diff --git a/GConf2.spec b/GConf2.spec index 73258d4..f850db6 100644 --- a/GConf2.spec +++ b/GConf2.spec @@ -5,7 +5,7 @@ Summary: A process-transparent configuration system Name: GConf2 Version: 2.19.1 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ Group: System Environment/Base Source: http://download.gnome.org/sources/GConf/2.19/GConf-%{version}.tar.bz2 @@ -30,6 +30,7 @@ Patch1: GConf2-2.14.0-timeout.patch # http://bugzilla.gnome.org/show_bug.cgi?id=475970 Patch2: sync-leak.patch Patch3: dir-leak.patch +Patch4: dead-leak.patch %description GConf is a process-transparent configuration database API used to @@ -68,6 +69,7 @@ which require GTK+. %patch1 -p1 -b .timers %patch2 -p1 -b .sync-leak %patch3 -p1 -b .dir-leak +%patch4 -p1 -b .dead-leak %build rm -f libtool @@ -129,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/* %changelog +* Tue Sep 11 2007 Matthias Clasen - 2.19.1-5 +- Some more leak fixes + * Tue Sep 11 2007 Matthias Clasen - 2.19.1-4 - Fix memory leaks diff --git a/dead-leak.patch b/dead-leak.patch new file mode 100644 index 0000000..5470865 --- /dev/null +++ b/dead-leak.patch @@ -0,0 +1,12 @@ +diff -up GConf-2.19.1/gconf/gconf-database.c.dead-leak GConf-2.19.1/gconf/gconf-database.c +--- GConf-2.19.1/gconf/gconf-database.c.dead-leak 2007-09-11 15:33:11.000000000 -0400 ++++ GConf-2.19.1/gconf/gconf-database.c 2007-09-11 15:32:42.000000000 -0400 +@@ -1259,6 +1259,8 @@ gconf_database_notify_listeners (GConfDa + tmp = g_slist_next(tmp); + } + ++ g_slist_free (closure.dead); ++ + if (notify_others) + { + g_return_if_fail (modified_sources != NULL);