[libsoup/hsts: 13/36] Add a missing disconnect for a signal handler



commit 1995f4f4509d4970e717937b09a4b2245b0df912
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Fri Aug 24 18:32:14 2018 +0300

    Add a missing disconnect for a signal handler

 libsoup/soup-hsts-enforcer.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libsoup/soup-hsts-enforcer.c b/libsoup/soup-hsts-enforcer.c
index 7e95313d..07e9c2bc 100644
--- a/libsoup/soup-hsts-enforcer.c
+++ b/libsoup/soup-hsts-enforcer.c
@@ -528,6 +528,7 @@ soup_hsts_enforcer_request_unqueued (SoupSessionFeature *feature,
                                     SoupSession *session,
                                     SoupMessage *msg)
 {
+       g_signal_handlers_disconnect_by_func (msg, message_restarted_cb, feature);
        g_signal_handlers_disconnect_by_func (msg, got_sts_headers_cb, feature);
 }
 


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