[nautilus/gnome-2-28] Don't leak NautilusDirectory



commit 87fa7e50a68d80f171340148d509739f5ca9a218
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Dec 8 16:28:13 2009 +0100

    Don't leak NautilusDirectory
    (cherry picked from commit ac9f08eb1f74b32c432b0a4904fb57e982202a4c)

 src/nautilus-navigation-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index f281f5e..8b61063 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-window.c
@@ -1555,6 +1555,7 @@ real_sync_search_widgets (NautilusWindow *window)
 		navigation_window->details->temporary_search_bar = TRUE;
 		hide_temporary_bars (navigation_window);
 	}
+	nautilus_directory_unref (directory);
 }
 
 



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