[empathy/gnome-2-32] empathy_individual_view_get_group_menu: don't leak the group



commit cfbd6ef2464d68d9d482a9a24c792de657ded74a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Nov 24 16:07:00 2010 +0100

    empathy_individual_view_get_group_menu: don't leak the group

 libempathy-gtk/empathy-individual-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 9079303..94f8ce3 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -2267,6 +2267,7 @@ empathy_individual_view_get_group_menu (EmpathyIndividualView *view)
   if (!group || is_fake_group)
     {
       /* We can't alter fake groups */
+      g_free (group);
       return NULL;
     }
 



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