pidgin/gtkpounce.c

changeset 21127
c6347aed1fb0
parent 20168
5d2fb40e4cdf
child 21453
a90cf329cd48
--- a/pidgin/gtkpounce.c	Tue Oct 30 03:24:07 2007 +0000
+++ b/pidgin/gtkpounce.c	Tue Oct 30 04:28:31 2007 +0000
@@ -685,6 +685,8 @@
 	gtk_widget_set_sensitive(dialog->play_sound_browse, FALSE);
 	gtk_widget_set_sensitive(dialog->play_sound_test,   FALSE);
 
+	g_object_unref(sg);
+
 	sg = gtk_size_group_new(GTK_SIZE_GROUP_VERTICAL);
 	gtk_size_group_add_widget(sg, dialog->open_win);
 	gtk_size_group_add_widget(sg, dialog->popup);
@@ -697,6 +699,9 @@
 	gtk_size_group_add_widget(sg, dialog->play_sound_browse);
 	gtk_size_group_add_widget(sg, dialog->play_sound_test);
 
+	g_object_unref(sg);
+	sg = NULL;
+
 	gtk_table_attach(GTK_TABLE(table), dialog->open_win,         0, 1, 0, 1,
 					 GTK_FILL, 0, 0, 0);
 	gtk_table_attach(GTK_TABLE(table), dialog->popup,            0, 1, 1, 2,

mercurial