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