[nautilus] Fix leaks



commit a755aa27c636561a1ab41066484cf9bcc97667f9
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Sep 10 23:14:45 2012 -0400

    Fix leaks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683769

 src/nautilus-places-sidebar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index 8be4622..fddb6be 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -765,6 +765,7 @@ update_places (NautilusPlacesSidebar *sidebar)
 
 		if (!g_file_is_native (root)) {
 			network_mounts = g_list_prepend (network_mounts, mount);
+			g_object_unref (root);
 			continue;
 		}
 



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