diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-22 14:14:25 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-22 14:14:25 +0200 |
commit | 47f45f2779540eb4d2a42fe9f9406aa92b33b209 (patch) | |
tree | 6ce2d5e68212928cf2a7039e817144f5892df78f /audio | |
parent | 15388bbd89bb5dfe284ff649d0781165e5114a6f (diff) |
Add missing g_io_channel_ref
Diffstat (limited to 'audio')
-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 7ed1bb07..68044bee 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2322,7 +2322,7 @@ int headset_connect_sco(struct audio_device *dev, GIOChannel *io) if (hs->sco) return -EISCONN; - hs->sco = io; + hs->sco = g_io_channel_ref(io); if (hs->pending_ring) { ring_timer_cb(NULL); |