aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-smiley-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-smiley-manager.c')
-rw-r--r--libempathy-gtk/empathy-smiley-manager.c3
1 files changed, 2 insertions, 1 deletions
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);