changeset 9521:9b2f1444811f

[gaim-migrate @ 10348] Gary Kramlich: Fixing bugs, making friends. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 13 Jul 2004 02:07:28 +0000
parents cb7f26f30d02
children 4399fc6e667a
files src/gtkprefs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprefs.c	Tue Jul 13 01:37:00 2004 +0000
+++ b/src/gtkprefs.c	Tue Jul 13 02:07:28 2004 +0000
@@ -433,6 +433,7 @@
 	gtk_tree_model_get_value (model, &iter, 2, &val);
 	gtk_notebook_set_current_page (GTK_NOTEBOOK (prefsnotebook), g_value_get_int (&val));
 
+	g_value_unset(&val);
 }
 
 /* These are the pages in the preferences notebook */
@@ -651,6 +652,9 @@
 		ret = g_utf8_collate(name1,name2);
 	}
 
+	g_free(name1);
+	g_free(name2);
+
 	return ret;
 }