Mercurial > pidgin.yaz
changeset 28785:d10e62b804ea
Surely this was a mem leak?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 21 Oct 2009 22:28:59 +0000 |
parents | 6ef2cfa15ae7 |
children | 0645dc6eeed1 |
files | libpurple/protocols/jabber/message.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c Wed Oct 21 22:24:34 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Wed Oct 21 22:28:59 2009 +0000 @@ -783,6 +783,7 @@ const char *jid = xmlnode_get_attrib(invite, "from"); g_free(jm->to); jm->to = jm->from; + g_free(jm->from); jm->from = g_strdup(jid); if((reason = xmlnode_get_child(invite, "reason"))) { g_free(jm->body);