pidgin: dc40c524: jabber: Possible leaks--;

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Feb 17 23:46:41 EST 2010


-----------------------------------------------------------------
Revision: dc40c524095f9554ff882ec126db049bac8bdec7
Ancestor: 46accc66b05f70475cf0e99377aafb47ecea958b
Author: darkrain42 at pidgin.im
Date: 2010-02-18T01:42:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dc40c524095f9554ff882ec126db049bac8bdec7

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

jabber: Possible leaks--;

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	4a5b75caa1682742700e182ad5a68fff4fed172c
+++ libpurple/protocols/jabber/jabber.c	73a60715ffd792046a49c901b6f7108512da1b35
@@ -2724,6 +2724,7 @@ static PurpleCmdRet jabber_cmd_chat_role
 			if (!jabber_chat_role_user(chat, nicks[i], args[0])) {
 				*error = g_strdup_printf(_("Unable to set role \"%s\" for user: %s"),
 										 args[0], nicks[i]);
+				g_strfreev(nicks);
 				return PURPLE_CMD_RET_FAILED;
 			}
 


More information about the Commits mailing list