diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-smiley-manager.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-09-19 Xavier Claessens <xclaesse@gmail.com> + + * libempathy-gtk/empathy-smiley-manager.c: Fix a leak. + 2007-09-11 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-main-window.c: diff --git a/libempathy-gtk/empathy-smiley-manager.c b/libempathy-gtk/empathy-smiley-manager.c index 3d6f9645e..cb726fcdd 100644 --- a/libempathy-gtk/empathy-smiley-manager.c +++ b/libempathy-gtk/empathy-smiley-manager.c @@ -108,6 +108,7 @@ empathy_smiley_free (EmpathySmiley *smiley) g_object_unref (smiley->pixbuf); } g_free (smiley->str); + g_slice_free (EmpathySmiley, smiley); } static void @@ -211,7 +212,7 @@ smiley_manager_add_valist (EmpathySmileyManager *manager, va_list var_args) { EmpathySmileyManagerPriv *priv = GET_PRIV (manager); - const gchar *str; + const gchar *str; for (str = first_str; str; str = va_arg (var_args, gchar*)) { smiley_manager_tree_insert (priv->tree, smiley, str); |