rpms/nautilus/devel small-leaks.patch, NONE, 1.1 nautilus.spec, 1.224, 1.225

Matthias Clasen mclasen at fedoraproject.org
Sun Aug 31 03:50:53 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/nautilus/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22466

Modified Files:
	nautilus.spec 
Added Files:
	small-leaks.patch 
Log Message:
plug a fwe small memory leaks


small-leaks.patch:

--- NEW FILE small-leaks.patch ---
Index: libnautilus-private/nautilus-directory-background.c
===================================================================
--- libnautilus-private/nautilus-directory-background.c	(revision 14544)
+++ libnautilus-private/nautilus-directory-background.c	(working copy)
@@ -115,6 +115,7 @@
         if (tmp != NULL) {
                 if (!gdk_color_parse (tmp, color))
                         gdk_color_parse ("black", color);
+		g_free (tmp);
         }
         else {
                 gdk_color_parse ("black", color);
@@ -198,6 +199,7 @@
         else {
                 *placement = EEL_BACKGROUND_CENTERED;
         }
+        g_free (tmp);
                 
         /* Get the color */
         tmp = gconf_client_get_string (client, BG_PREFERENCES_COLOR_SHADING_TYPE, NULL);
@@ -223,6 +225,7 @@
                 use_gradient = FALSE;
                 is_horizontal = FALSE;
         }
+        g_free (tmp);
         
         read_color (client, BG_PREFERENCES_PRIMARY_COLOR, &primary);
         read_color (client, BG_PREFERENCES_SECONDARY_COLOR, &secondary);


Index: nautilus.spec
===================================================================
RCS file: /cvs/extras/rpms/nautilus/devel/nautilus.spec,v
retrieving revision 1.224
retrieving revision 1.225
diff -u -r1.224 -r1.225
--- nautilus.spec	28 Aug 2008 20:16:41 -0000	1.224
+++ nautilus.spec	31 Aug 2008 03:50:23 -0000	1.225
@@ -19,7 +19,7 @@
 Name:		nautilus
 Summary:        Nautilus is a file manager for GNOME
 Version: 	2.23.90
-Release:	3%{?dist}
+Release:	4%{?dist}
 License: 	GPLv2+
 Group:          User Interface/Desktops
 Source: 	http://download.gnome.org/sources/%{name}/2.23/%{name}-%{version}.tar.bz2
@@ -102,6 +102,9 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=548740
 Patch18:	nautilus-2.23.90-schemas-typo.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=550009
+Patch20:	small-leaks.patch
+
 %description
 Nautilus integrates access to files, applications, media,
 Internet-based resources and the Web. Nautilus delivers a dynamic and
@@ -141,6 +144,7 @@
 %patch15 -p1 -b .xds
 %patch17 -p0 -b .symlink
 %patch18 -p1 -b .typo
+%patch20 -p0 -b .small-leaks
 
 %build
 
@@ -259,6 +263,9 @@
 
 
 %changelog
+* Sat Aug 30 2008 Matthias Clasen <mclasen at redhat.com> - 2.23.90-4
+- Plug a few small memory leaks
+
 * Thu Aug 28 2008 Matthias Clasen <mclasen at redhat.com> - 2.23.90-3
 - Pull in split-off gvfs backends
 




More information about the fedora-extras-commits mailing list