# HG changeset patch # User Will Thompson # Date 1211554719 0 # Node ID c77d66886425bb767c8499950a2534f280904831 # Parent 1356d75fd958eef9b18e700d934f3c36bb584a93 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. diff -r 1356d75fd958 -r c77d66886425 libpurple/protocols/jabber/auth.c --- 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 */