From d075a508932aaa00fe01aa898db1b03135a64bd0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 19 Feb 2009 14:49:57 +0200 Subject: Remove invalid g_io_channel_unref --- audio/control.c | 1 - 1 file changed, 1 deletion(-) (limited to 'audio') diff --git a/audio/control.c b/audio/control.c index 941e1477..0986c015 100644 --- a/audio/control.c +++ b/audio/control.c @@ -806,7 +806,6 @@ static void avctp_connect_cb(GIOChannel *chan, GError *err, gpointer data) session->io = g_io_add_watch(chan, G_IO_IN | G_IO_ERR | G_IO_HUP | G_IO_NVAL, (GIOFunc) session_cb, session); - g_io_channel_unref(chan); } gboolean avrcp_connect(struct audio_device *dev) -- cgit