soup-connection.c: do not unref the socket twice while disconnecting
authorSergio Villar Senin <svillar@igalia.com>
Wed, 28 Mar 2012 08:29:49 +0000 (10:29 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 28 Mar 2012 15:55:52 +0000 (17:55 +0200)
commit0c0619228a3488a4808cad2383073e00db22cd6d
treeca8c9df8e2e148c6d3bdaadb29df1050ff5fd277
parent469812380d71792aa92c387583a50aec0e0f683d
soup-connection.c: do not unref the socket twice while disconnecting

Reentrant calls to soup_socket_disconnect() when disconnecting the socket
lead to double disconnections and double unref of the same SoupSocket.

https://bugzilla.gnome.org/show_bug.cgi?id=672178
libsoup/soup-connection.c