[nautilus] icon-container: plug a memory leak



commit f394ce8c052dd65c8343106964ba4431d97d261c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jan 18 02:20:27 2011 +0100

    icon-container: plug a memory leak

 libnautilus-private/nautilus-icon-container.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index a70877a..ba95bec 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -8757,6 +8757,9 @@ nautilus_icon_container_theme_changed (gpointer user_data)
 	container->details->normal_color_rgba = color;
 
 	setup_label_gcs (container);
+
+	gdk_rgba_free (prelight_icon_color);
+	gdk_rgba_free (normal_icon_color);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]