Mercurial > pidgin.yaz
changeset 23083:69796bbe7a6d
merge of '59d7f03afa561d4e3ef6d618e8d8d2a99c0dee88'
and '987d475b7796c72aacb0fbc5112840600ba70d61'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 21 May 2008 01:59:38 +0000 |
parents | 16bdfbe5b0b4 (current diff) 0ae9c9befa63 (diff) |
children | cd007fd9cf83 25161f5ea347 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Wed May 21 01:58:33 2008 +0000 +++ b/libpurple/protocols/jabber/auth.c Wed May 21 01:59:38 2008 +0000 @@ -503,8 +503,10 @@ * 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, ' ');