[nautilus] search-hit: plug a memleak



commit ccf0664cf4be6f1b75135ca49b05f40ec0bf5e5a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 13:04:56 2013 -0500

    search-hit: plug a memleak

 libnautilus-private/nautilus-search-hit.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-search-hit.c b/libnautilus-private/nautilus-search-hit.c
index 47a54e8..fb52155 100644
--- a/libnautilus-private/nautilus-search-hit.c
+++ b/libnautilus-private/nautilus-search-hit.c
@@ -124,6 +124,7 @@ nautilus_search_hit_compute_scores (NautilusSearchHit *hit,
 
 	g_date_time_unref (now);
 	g_free (query_uri);
+	g_object_unref (query_location);
 }
 
 const char *



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