summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-03-23 10:57:46 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-03-23 10:59:18 +0200
commit97904d11f681dd22f5cef575f87a33ce12b32a36 (patch)
tree5f6ae28fb2c7e058f21b875d8830693764ac7352
parentfe3eae16902ebce9530f058dfeb9f1db49b2fa3e (diff)
Remove incorrect g_io_channel_unref call
-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;
}