diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-22 15:26:58 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-22 15:26:58 +0200 |
commit | cc04d0b763db10bcc93f7f86307d5460fd89d2b1 (patch) | |
tree | 3fa3c11af0829e2bd1b49e356386e231ad276578 | |
parent | 47f45f2779540eb4d2a42fe9f9406aa92b33b209 (diff) |
Add another missing g_io_channel_ref
-rw-r--r-- | audio/headset.c | 2 |
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) { |