summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2019-06-28 13:49:47 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2019-07-04 17:03:43 -0400
commit13378275c3d60a5ff487e0828db2ac6a151be243 (patch)
tree3620ba5612b8bd49b6888d52a569738ee8493339
parent0512ecaa2d29b901e67a41b04f46175af0c193f1 (diff)
downloadlibnice-13378275c3d60a5ff487e0828db2ac6a151be243.tar.gz
component: don't detach the socket source twice
The source is also detached in socket_source_free()
-rw-r--r--agent/component.c1
1 files changed, 0 insertions, 1 deletions
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);
}