pidgin: 2024012e: jabber: Don't leak the buddy_name on thi...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon Apr 19 16:21:02 EDT 2010
-----------------------------------------------------------------
Revision: 2024012eee484e1d27fff17f648e83e13dd0fd5d
Ancestor: 6156f94369d1203fd0b0c5f2cb275893ddc67c19
Author: darkrain42 at pidgin.im
Date: 2010-04-19T20:17:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2024012eee484e1d27fff17f648e83e13dd0fd5d
Modified files:
libpurple/protocols/jabber/presence.c
ChangeLog:
jabber: Don't leak the buddy_name on this error
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c 4475348829fb0bc365248fcd6b290441cc1be7c6
+++ libpurple/protocols/jabber/presence.c 253b82a6a831c587f67d93c9d82c02c78f1c6f3c
@@ -823,6 +823,7 @@ handle_presence_contact(JabberStream *js
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 */
More information about the Commits
mailing list