changeset 7248:aab000475910

[gaim-migrate @ 7825] of course I meant this committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 13 Oct 2003 15:29:40 +0000
parents 8a2e22478242
children a0b66b6fa9ff
files src/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Mon Oct 13 15:17:58 2003 +0000
+++ b/src/protocols/jabber/presence.c	Mon Oct 13 15:29:40 2003 +0000
@@ -60,6 +60,8 @@
 		stripped = g_strdup("");
 	}
 
+	if(gc->away)
+		g_free(gc->away);
 	gc->away = stripped;
 
 	presence = jabber_presence_create(state, msg);