pidgin/purple-plugin-pack

cde268dfc3ca
Parents b917ed290b4a
Children 782ca5322378
Patch from jasonwoof to fix a use-after-free

Fixes #613
--- a/irchelper/irchelper.c Sun Apr 18 17:27:14 2010 -0500
+++ b/irchelper/irchelper.c Wed Jul 07 10:46:03 2010 -0500
@@ -708,8 +708,6 @@
return;
}
- g_strfreev(userparts);
-
if (state & IRC_NETWORK_TYPE_THUNDERCITY)
nickserv_msg_identify("AUTH", connection->proto_data, connection, nickpassword);
@@ -722,6 +720,8 @@
}
else
nickserv_identify(connection->proto_data, connection, nickpassword);
+
+ g_strfreev(userparts);
}
}