changeset 29068:403a53ff9aa4

jabber: Possible leaks--;
author Paul Aurich <paul@darkrain42.org>
date Thu, 18 Feb 2010 01:42:00 +0000
parents 42b732b92cec
children f5c00a24bb87
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Wed Feb 17 17:03:31 2010 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Thu Feb 18 01:42:00 2010 +0000
@@ -2724,6 +2724,7 @@
 			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;
 			}