gedit r6377 - trunk/gedit
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6377 - trunk/gedit
- Date: Sun, 10 Aug 2008 14:45:44 +0000 (UTC)
Author: pborelli
Date: Sun Aug 10 14:45:44 2008
New Revision: 6377
URL: http://svn.gnome.org/viewvc/gedit?rev=6377&view=rev
Log:
one more leak
Modified:
trunk/gedit/gedit-history-entry.c
Modified: trunk/gedit/gedit-history-entry.c
==============================================================================
--- trunk/gedit/gedit-history-entry.c (original)
+++ trunk/gedit/gedit-history-entry.c Sun Aug 10 14:45:44 2008
@@ -290,9 +290,12 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]