diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:35:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:35:46 +0200 |
commit | ba1b8ea534d8680b128755ffd0bc26b35e248699 (patch) | |
tree | 7120bacdb30903b7fe1538194d5ec8bd979018fd /audio | |
parent | 049434e9e91587e187ec3a644b90a9b8d7a2dc5f (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 ba53dbb0..2120a60f 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1241,7 +1241,7 @@ static void rfcomm_connect_cb(GIOChannel *chan, GError *err, gpointer user_data) } ba2str(&dev->dst, hs_address); - hs->rfcomm = chan; + hs->rfcomm = g_io_channel_ref(chan); p->io = NULL; if (server_is_enabled(&dev->src, HANDSFREE_SVCLASS_ID) && |