Mercurial > pidgin.yaz
diff plugins/spellchk.c @ 11593:4b7fb30b8926
[gaim-migrate @ 13863]
Some valgrinding fixes from Levi Bard.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 02 Oct 2005 23:40:59 +0000 |
parents | 379490cbe014 |
children | 03db7f366ae1 |
line wrap: on
line diff
--- a/plugins/spellchk.c Sun Oct 02 21:16:05 2005 +0000 +++ b/plugins/spellchk.c Sun Oct 02 23:40:59 2005 +0000 @@ -168,13 +168,18 @@ g_value_unset(&val0); g_value_unset(&val1); g_value_unset(&val2); + g_free(text); return TRUE; } + g_value_unset(&val0); + g_value_unset(&val1); + g_value_unset(&val2); } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(model), &treeiter)); } + g_free(text); return FALSE; }