diff options
| -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);  | 
