mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 17:24:32 +08:00
Unreference the IO channel from the main() function
This commit is contained in:
parent
17518a93c3
commit
551b36630b
@ -120,8 +120,6 @@ static GIOChannel *setup_rfcomm(uint8_t channel)
|
|||||||
|
|
||||||
g_io_add_watch(io, G_IO_IN, connect_event, NULL);
|
g_io_add_watch(io, G_IO_IN, connect_event, NULL);
|
||||||
|
|
||||||
g_io_channel_unref(io);
|
|
||||||
|
|
||||||
return io;
|
return io;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user