summaryrefslogtreecommitdiff
path: root/agent/component.c
diff options
context:
space:
mode:
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);
}