Commit 47d3354d authored by Olivier Crête's avatar Olivier Crête

component: Don't free the nice socket before detaching it

parent 69b876b3
......@@ -102,8 +102,8 @@ socket_source_detach (SocketSource *source)
static void
socket_source_free (SocketSource *source)
{
nice_socket_free (source->socket);
socket_source_detach (source);
nice_socket_free (source->socket);
g_slice_free (SocketSource, 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