Commit 13378275 authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête
Browse files

component: don't detach the socket source twice

The source is also detached in socket_source_free()
parent 0512ecaa
...@@ -699,7 +699,6 @@ nice_component_detach_socket (NiceComponent *component, NiceSocket *nicesock) ...@@ -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 = g_slist_delete_link (component->socket_sources, s);
component->socket_sources_age++; component->socket_sources_age++;
socket_source_detach (socket_source);
socket_source_free (socket_source); socket_source_free (socket_source);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment