summaryrefslogtreecommitdiff
path: root/agent/component.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-30 18:19:19 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-31 01:49:01 -0500
commit47d3354d4a02867dbbfb57699e27cefd3e494fbc (patch)
tree70775d9166a8825a5acbddfda14f0dab8ac94e2d /agent/component.c
parent69b876b3ba3fedc4c79a3e03ed39892713e97076 (diff)
downloadlibnice-47d3354d4a02867dbbfb57699e27cefd3e494fbc.tar.gz
component: Don't free the nice socket before detaching it
Diffstat (limited to 'agent/component.c')
-rw-r--r--agent/component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/component.c b/agent/component.c
index 1fbe3e3..1b41942 100644
--- a/agent/component.c
+++ b/agent/component.c
@@ -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);
}