Don't leak session if message is cancelled during socket connection
authorDan Winship <danw@gnome.org>
Mon, 12 Oct 2009 16:36:09 +0000 (12:36 -0400)
committerDan Winship <danw@gnome.org>
Sun, 22 Nov 2009 14:00:04 +0000 (09:00 -0500)
commit3076f99d1aa8e8c87ea6b22c0f0fdbc382e449b6
treed3b46591d402f89dbeda74c70f854c632b64572e
parent6ff7ecdd6f52fb4a44cdad9cf9d5deab24645863
Don't leak session if message is cancelled during socket connection

Fix up refcounting handling so that if the session is destroyed while
a connection attempt is pending, it doesn't cause the session to be
leaked.

https://bugzilla.gnome.org/show_bug.cgi?id=596074
libsoup/soup-session-async.c
tests/misc-test.c