]> git.0d.be Git - empathy.git/commitdiff
individual_store_name_sort_func: don't leak names
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 18 Nov 2010 13:18:05 +0000 (14:18 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 18 Nov 2010 14:21:34 +0000 (15:21 +0100)
libempathy-gtk/empathy-individual-store.c

index ce2eacf82138c32b036ad9f366f5dbafc4b0b335..dbea416a773c9e588668e170143d882b8c7c60ae 100644 (file)
@@ -1513,6 +1513,8 @@ individual_store_name_sort_func (GtkTreeModel *model,
 
   tp_clear_object (&individual_a);
   tp_clear_object (&individual_b);
+  g_free (name_a);
+  g_free (name_b);
 
   return ret_val;
 }