Code

main: call g_io_channel_unref() early
authorMax Kellermann <max.kellermann@gmail.com>
Sun, 19 Mar 2017 09:45:18 +0000 (10:45 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Sun, 19 Mar 2017 09:45:18 +0000 (10:45 +0100)
commit7136e43d45da4eb5d6d689a6675a455a5b18fcd8
tree3904a4c8af78d571c1f895128ac06607bd63065b
parent88187e4e0364c9c38008df05fff43428cdc41887
main: call g_io_channel_unref() early

Release the reference right after registering the channel in the event
loop.  We don't need the reference, and the main loop has its own
reference.
src/main.c