[gnome-shell] ShellContactSystem: fix GSList of utf8 leak



commit 201dc05416140cf011c3e5401bfa3ad608ec4fd7
Author: Pavel Vasin <rat4vier gmail com>
Date:   Wed Jun 13 20:51:57 2012 +0400

    ShellContactSystem: fix GSList of utf8 leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678079

 src/shell-contact-system.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-contact-system.c b/src/shell-contact-system.c
index 4f5af70..8f00021 100644
--- a/src/shell-contact-system.c
+++ b/src/shell-contact-system.c
@@ -464,6 +464,7 @@ shell_contact_system_initial_search (ShellContactSystem *self,
     }
 
   g_object_unref (iter);
+  g_slist_free_full (normalized_terms, (GDestroyNotify) g_free);
 
   return sort_and_prepare_results (results);
 }



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