summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-22 15:26:58 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-22 15:26:58 +0200
commitcc04d0b763db10bcc93f7f86307d5460fd89d2b1 (patch)
tree3fa3c11af0829e2bd1b49e356386e231ad276578 /audio
parent47f45f2779540eb4d2a42fe9f9406aa92b33b209 (diff)
Add another missing g_io_channel_ref
Diffstat (limited to 'audio')
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 68044bee..007aaa10 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -540,7 +540,7 @@ static void sco_connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
sk = g_io_channel_unix_get_fd(chan);
debug("SCO fd=%d", sk);
- hs->sco = chan;
+ hs->sco = g_io_channel_ref(chan);
p->io = NULL;
if (p->msg) {