soup-session: fix a possible crash
authorDan Winship <danw@gnome.org>
Tue, 11 Dec 2012 16:33:14 +0000 (17:33 +0100)
committerDan Winship <danw@gnome.org>
Tue, 11 Dec 2012 16:33:14 +0000 (17:33 +0100)
commita2a4fccfa8ebd09aea232913eaa3bf1752038e40
treeb7538acd7ab0379c0718d090b39d1c7461700094
parent65890298dbe26d1058f523a6eb4741d57b05142c
soup-session: fix a possible crash

Calling soup_session_unqueue_item() will unref the item, so we need to
add an extra ref if we want to ensure that it's still valid afterward.
libsoup/soup-session.c