Mercurial > pidgin.yaz
changeset 30170:21285007d703
jabber: Don't leak the buddy_name on this error
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 19 Apr 2010 20:17:20 +0000 |
parents | 2ed0041a7b0f |
children | 6eb183a072d3 |
files | libpurple/protocols/jabber/presence.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Mon Apr 19 16:06:43 2010 +0000 +++ b/libpurple/protocols/jabber/presence.c Mon Apr 19 20:17:20 2010 +0000 @@ -823,6 +823,7 @@ if (presence->jb != js->user_jb) { purple_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%p)\n", buddy_name, purple_account_get_username(account), account); + g_free(buddy_name); return FALSE; } else { /* this is a different resource of our own account. Resume even when this account isn't on our blist */