summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/control.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/control.c b/audio/control.c
index 58b4dc01..76c7d40c 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -619,7 +619,6 @@ static void avctp_connect_cb(GIOChannel *chan, GError *err, gpointer data)
debug("avctp_connect_cb: session removed while connecting");
if (!err)
g_io_channel_shutdown(chan, TRUE, NULL);
- g_io_channel_unref(chan);
return;
}