diff src/gtkconn.c @ 10504:1a97d5e88d12

[gaim-migrate @ 11796] Lots of things here: - Several memory leak fixes - A few invalid memory access fixes - Fix a yahoo crash going idle when away - Fix Add user in chats to actually fill in the screenname - Add gaim_account_{get,set}_enabled to perl - Fix command priorities (fixes /me in IRC) - Fix MSN notification server transfer to be quiet about it - Fix MSN blist sync if user has insane friendly name - Make the docklet less crash-happy if it fails to embed in 3 seconds - Only probe for native plugins with the correct file extension - 1 typo fix :) ... and quite possibly something else I forgot. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 11 Jan 2005 17:25:06 +0000
parents ce098e226486
children 868aafbe859b
line wrap: on
line diff
--- a/src/gtkconn.c	Tue Jan 11 02:00:44 2005 +0000
+++ b/src/gtkconn.c	Tue Jan 11 17:25:06 2005 +0000
@@ -112,7 +112,7 @@
 {
 	GtkTreeIter iter;
 	GtkTreeSelection *sel;
-	const char *label_text;
+	char *label_text;
 	GaimAccount *account = NULL;
 
 	if ((disconnect_window == NULL) || (model == NULL))
@@ -161,6 +161,7 @@
 		gtk_widget_hide(disconnect_window->reconnect_btn);
 	else
 		gtk_widget_show(disconnect_window->reconnect_btn);
+	g_free(label_text);
 }
 
 static void disconnect_response_cb(GtkDialog *dialog, gint id, GtkWidget *widget)