comparison 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
comparison
equal deleted inserted replaced
11592:f21d4310717e 11593:4b7fb30b8926
166 gtk_text_buffer_insert(buffer, &start, good, -1); 166 gtk_text_buffer_insert(buffer, &start, good, -1);
167 167
168 g_value_unset(&val0); 168 g_value_unset(&val0);
169 g_value_unset(&val1); 169 g_value_unset(&val1);
170 g_value_unset(&val2); 170 g_value_unset(&val2);
171 g_free(text);
171 172
172 return TRUE; 173 return TRUE;
173 } 174 }
174 175
176 g_value_unset(&val0);
177 g_value_unset(&val1);
178 g_value_unset(&val2);
175 } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(model), &treeiter)); 179 } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(model), &treeiter));
176 } 180 }
177 181
182 g_free(text);
178 return FALSE; 183 return FALSE;
179 } 184 }
180 185
181 static gchar * 186 static gchar *
182 substitute_word(gchar *word) 187 substitute_word(gchar *word)