changeset 21155:f008509e293e

Fix a little leak.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 07 Nov 2007 02:32:14 +0000
parents 566b52a449b9
children a4b8bdc5a05f
files pidgin/gtksavedstatuses.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c	Wed Nov 07 01:30:07 2007 +0000
+++ b/pidgin/gtksavedstatuses.c	Wed Nov 07 02:32:14 2007 +0000
@@ -1201,6 +1201,7 @@
 	gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
 	focus_chain = g_list_prepend(focus_chain, dialog->message);
 	gtk_container_set_focus_chain(GTK_CONTAINER(hbox), focus_chain);
+	g_list_free(focus_chain);
 
 	if ((saved_status != NULL) && (purple_savedstatus_get_message(saved_status) != NULL))
 		gtk_imhtml_append_text(GTK_IMHTML(text),