changeset 4110:64d983d6b7bb

[gaim-migrate @ 4325] robot101 found and fixed a memory leak and custom away states/messages for jabber while he worked on session management committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 21 Dec 2002 05:37:45 +0000
parents 4efc492cf16f
children ee884f1d7ae3
files src/dialogs.c src/protocols/jabber/jabber.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Dec 21 02:19:42 2002 +0000
+++ b/src/dialogs.c	Sat Dec 21 05:37:45 2002 +0000
@@ -3436,6 +3436,7 @@
 
 	destroy_dialog(NULL, ca->window);
 	g_free(ca);
+	g_free(am.message);
 }
 
 void su_away_mess(GtkWidget *widget, struct create_away *ca)
--- a/src/protocols/jabber/jabber.c	Sat Dec 21 02:19:42 2002 +0000
+++ b/src/protocols/jabber/jabber.c	Sat Dec 21 05:37:45 2002 +0000
@@ -3298,6 +3298,7 @@
 	m = g_list_append(m, "Extended Away");
 	m = g_list_append(m, "Do Not Disturb");
 	m = g_list_append(m, "Invisible");
+	m = g_list_append(m, GAIM_AWAY_CUSTOM);
 
 	return m;
 }