Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/auth.c @ 23100:c77d66886425
NULL out js->expected_rspauth, so it doesn't get double-freed in jabber_close().
It is still freed in jabber_close() if not NULL, in case the challenge-response
had not completed when the connection is closed.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 23 May 2008 14:58:39 +0000 |
parents | 0ae9c9befa63 |
children | 73b86c478d37 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Fri May 23 13:39:22 2008 +0000 +++ b/libpurple/protocols/jabber/auth.c Fri May 23 14:58:39 2008 +0000 @@ -945,6 +945,7 @@ _("Invalid challenge from server")); } g_free(js->expected_rspauth); + js->expected_rspauth = NULL; } else { /* assemble a response, and send it */ /* see RFC 2831 */