summaryrefslogtreecommitdiffstats
path: root/sdpd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdpd/server.c')
-rw-r--r--sdpd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdpd/server.c b/sdpd/server.c
index c5458aac..4316746b 100644
--- a/sdpd/server.c
+++ b/sdpd/server.c
@@ -211,6 +211,8 @@ static gboolean io_accept_event(GIOChannel *chan, GIOCondition cond, gpointer da
g_io_add_watch(io, G_IO_IN, io_session_event, data);
+ g_io_channel_unref(io);
+
return TRUE;
}