[nautilus] search-hit: fix mem leak



commit ff4ada2da10cf3260f491d5094d1bd441a7304ab
Author: Pavel Vasin <rat4vier gmail com>
Date:   Tue Jan 1 20:41:07 2013 +0400

    search-hit: fix mem leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691004

 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 2ac8653..47a54e8 100644
--- a/libnautilus-private/nautilus-search-hit.c
+++ b/libnautilus-private/nautilus-search-hit.c
@@ -123,6 +123,7 @@ nautilus_search_hit_compute_scores (NautilusSearchHit *hit,
 	       proximity_bonus, recent_bonus, match_bonus);
 
 	g_date_time_unref (now);
+	g_free (query_uri);
 }
 
 const char *



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