[nautilus] Unref local query object when turning search off



commit acb01f0fe637a64f92c1ff2188879b7c470ed0e0
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Wed Mar 24 17:00:35 2010 +0100

    Unref local query object when turning search off

 src/nautilus-navigation-window-menus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-navigation-window-menus.c b/src/nautilus-navigation-window-menus.c
index 7aab617..ec48324 100644
--- a/src/nautilus-navigation-window-menus.c
+++ b/src/nautilus-navigation-window-menus.c
@@ -704,6 +704,7 @@ action_show_hide_search_callback (GtkAction *action,
 					location = g_file_new_for_uri (uri);
 					g_free (uri);
 				}
+				g_object_unref (query);
 			}
 		}
 



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