From 13378275c3d60a5ff487e0828db2ac6a151be243 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Fri, 28 Jun 2019 13:49:47 +0200 Subject: component: don't detach the socket source twice The source is also detached in socket_source_free() --- agent/component.c | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/component.c b/agent/component.c index 720dd39..10fb32b 100644 --- a/agent/component.c +++ b/agent/component.c @@ -699,7 +699,6 @@ nice_component_detach_socket (NiceComponent *component, NiceSocket *nicesock) component->socket_sources = g_slist_delete_link (component->socket_sources, s); component->socket_sources_age++; - socket_source_detach (socket_source); socket_source_free (socket_source); } -- cgit v1.2.1