Commit 4d4575c7 authored by Paolo Borelli's avatar Paolo Borelli

one more leak

svn path=/trunk/; revision=6377
parent a4bcfdc1
......@@ -290,9 +290,12 @@ remove_item (GtkListStore *store,
strcmp (item_text, text) == 0)
{
gtk_list_store_remove (store, &iter);
g_free (item_text);
return TRUE;
}
g_free (item_text);
} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter));
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment