diff options
author | Milan Crha <mcrha@redhat.com> | 2012-05-31 16:44:49 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-05-31 16:44:49 +0800 |
commit | 71924fc48776c642fe8520febc384250cf55973c (patch) | |
tree | 6b2f1738675f111dfb664805f82ad27add135715 /plugins/attachment-reminder | |
parent | c88d3170304e1892b221d0581a3cd3c767de4281 (diff) | |
download | gsoc2013-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 'plugins/attachment-reminder')
-rw-r--r-- | plugins/attachment-reminder/attachment-reminder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c index 762594517b..5f3494175e 100644 --- a/plugins/attachment-reminder/attachment-reminder.c +++ b/plugins/attachment-reminder/attachment-reminder.c @@ -351,6 +351,8 @@ commit_changes (UIData *ui) /* Check if the keyword is not empty */ if ((keyword) && (g_utf8_strlen (g_strstrip (keyword), -1) > 0)) g_variant_builder_add (&b, "s", keyword); + g_free (keyword); + valid = gtk_tree_model_iter_next (model, &iter); } |