[libsoup] Fix a signal-handler leak in the too-many-redirects patch



commit 622bba3c72576d8d6245ca6dd9b7b3a8ac472c6d
Author: Dan Winship <danw gnome org>
Date:   Wed Jun 9 13:27:03 2010 -0400

    Fix a signal-handler leak in the too-many-redirects patch

 libsoup/soup-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index ff25e33..a1147fd 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -1419,7 +1419,7 @@ soup_session_unqueue_item (SoupSession          *session,
 	 * soup_message_add_header_handler()
 	 */
 	g_signal_handlers_disconnect_matched (item->msg, G_SIGNAL_MATCH_DATA,
-					      0, 0, NULL, NULL, session);
+					      0, 0, NULL, NULL, item);
 	g_signal_emit (session, signals[REQUEST_UNQUEUED], 0, item->msg);
 	soup_message_queue_item_unref (item);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]