Mercurial > pidgin
diff libpurple/protocols/msn/soap2.c @ 21941:fc060adb7178
fix a double free
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Wed, 26 Dec 2007 01:19:18 +0000 |
parents | 8fcd795f627e |
children | f62a4a7fe365 bac263f5afe7 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap2.c Tue Dec 25 23:00:27 2007 +0000 +++ b/libpurple/protocols/msn/soap2.c Wed Dec 26 01:19:18 2007 +0000 @@ -170,6 +170,9 @@ { MsnSoapConnection *conn = data; + /* sslconn already frees the connection in case of error */ + conn->ssl = NULL; + g_hash_table_remove(conn->session->soap_table, conn->host); }