diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:30:40 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:30:40 +0200 |
commit | 049434e9e91587e187ec3a644b90a9b8d7a2dc5f (patch) | |
tree | b3a3174154dad72df2a3164a84e0932a627dca93 /audio | |
parent | 8c26ea9f1865757aa796ff0ef7042bfb4c2bb6e8 (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 b83ce906..ba53dbb0 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2284,7 +2284,7 @@ int headset_connect_rfcomm(struct audio_device *dev, GIOChannel *io) { struct headset *hs = dev->headset; - hs->tmp_rfcomm = io; + hs->tmp_rfcomm = g_io_channel_ref(io); return hs->tmp_rfcomm ? 0 : -EINVAL; } |