[nautilus/gnome-2-32] Plug memory leak



commit 279509baf4872e58103768a53ca87918254767fc
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Fri Feb 25 15:52:58 2011 +0100

    Plug memory leak

 libnautilus-private/nautilus-icon-info.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-info.c b/libnautilus-private/nautilus-icon-info.c
index 97e88cb..97f42fd 100644
--- a/libnautilus-private/nautilus-icon-info.c
+++ b/libnautilus-private/nautilus-icon-info.c
@@ -393,6 +393,7 @@ nautilus_icon_info_lookup (GIcon *icon,
 
 		filename = gtk_icon_info_get_filename (gtkicon_info);
 		if (filename == NULL) {
+			gtk_icon_info_free (gtkicon_info);
 			return nautilus_icon_info_new_for_pixbuf (NULL);
 		}
 



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