[gnome-shell] ShellContactSystem: fix GeeMapIterator leak



commit 1cf2bb66469eb619e0422fe71a356738c6907e0e
Author: Pavel Vasin <rat4vier gmail com>
Date:   Wed Jun 13 14:48:23 2012 +0400

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

 src/shell-contact-system.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-contact-system.c b/src/shell-contact-system.c
index 8d5109f..88d329e 100644
--- a/src/shell-contact-system.c
+++ b/src/shell-contact-system.c
@@ -463,6 +463,8 @@ shell_contact_system_initial_search (ShellContactSystem *self,
       g_object_unref (individual);
     }
 
+  g_object_unref (iter);
+
   return sort_and_prepare_results (results);
 }
 



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