aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-05-31 16:44:49 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-31 16:44:49 +0800
commit71924fc48776c642fe8520febc384250cf55973c (patch)
tree6b2f1738675f111dfb664805f82ad27add135715 /widgets/misc
parentc88d3170304e1892b221d0581a3cd3c767de4281 (diff)
downloadgsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar.gz
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar.bz2
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar.lz
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar.xz
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.tar.zst
gsoc2013-evolution-71924fc48776c642fe8520febc384250cf55973c.zip
Fix memory leaks around gtk_tree_model_get() function
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-contact-map-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-contact-map-window.c b/widgets/misc/e-contact-map-window.c
index 38fe56ccdf..4661024036 100644
--- a/widgets/misc/e-contact-map-window.c
+++ b/widgets/misc/e-contact-map-window.c
@@ -196,6 +196,7 @@ map_contact_removed_cb (EContactMap *map,
gchar *name_str;
gtk_tree_model_get (model, &iter, 0, &name_str, -1);
if (g_ascii_strcasecmp (name_str, name) == 0) {
+ g_free (name_str);
gtk_list_store_remove (priv->completion_model, &iter);
break;
}