pidgin: 987d475b: Plug leak.
datallah at pidgin.im
datallah at pidgin.im
Tue May 20 22:01:18 EDT 2008
-----------------------------------------------------------------
Revision: 987d475b7796c72aacb0fbc5112840600ba70d61
Ancestor: c842e71349e82744d9939f0250b08cd9104c2b3b
Author: datallah at pidgin.im
Date: 2008-05-21T01:57:07
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/987d475b7796c72aacb0fbc5112840600ba70d61
Modified files:
libpurple/protocols/jabber/auth.c
ChangeLog:
Plug leak.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/auth.c f05ebdbe6f749b16b26acd16ed962c67b9ed29ec
+++ libpurple/protocols/jabber/auth.c ed4bff4356c8115d833b6b4bd31c54a0c8bcf95e
@@ -503,8 +503,10 @@ jabber_auth_start(JabberStream *js, xmln
* support it and including it gives a false fall-back to other mechs offerred,
* leading to incorrect error handling.
*/
- if (mech_name && !strcmp(mech_name, "X-GOOGLE-TOKEN"))
+ if (mech_name && !strcmp(mech_name, "X-GOOGLE-TOKEN")) {
+ g_free(mech_name);
continue;
+ }
g_string_append(js->sasl_mechs, mech_name);
g_string_append_c(js->sasl_mechs, ' ');
More information about the Commits
mailing list