summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-15 08:46:39 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-15 08:46:39 +0000
commitc2c130dfca7b749ecc72a45836b6d8beaa299654 (patch)
tree0218e20862752f42fabcc3f2de93977ae7b69606 /audio
parentae3e54003a6e36749ac23a4e0cbecf49ba561656 (diff)
Remove invalid g_io_channel_unref
Diffstat (limited to 'audio')
-rw-r--r--audio/headset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index b48c2986..f8feed4f 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -412,7 +412,6 @@ static gboolean server_io_cb(GIOChannel *chan, GIOCondition cond, void *data)
}
g_io_add_watch(hs->rfcomm, G_IO_IN, (GIOFunc) rfcomm_io_cb, hs);
- g_io_channel_unref(hs->rfcomm);
ba2str(&addr.rc_bdaddr, hs_address);