[nautilus] Don't leak list of gconf entries



commit 26714114eefe841c4b3eaa5a3a93b50ec69f76a8
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Sep 8 10:19:14 2009 +0200

    Don't leak list of gconf entries

 .../nautilus-desktop-directory-file.c              |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-desktop-directory-file.c b/libnautilus-private/nautilus-desktop-directory-file.c
index bd2a84d..334f587 100644
--- a/libnautilus-private/nautilus-desktop-directory-file.c
+++ b/libnautilus-private/nautilus-desktop-directory-file.c
@@ -579,6 +579,7 @@ nautilus_desktop_update_metadata_from_gconf (NautilusFile *file,
 
 		gconf_entry_unref (entry);
 	}
+	g_slist_free (entries);
 
 	changed = nautilus_file_update_metadata_from_info (file, info);
 



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