author | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 09:45:18 +0000 (10:45 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 09:45:18 +0000 (10:45 +0100) | ||
commit | 7136e43d45da4eb5d6d689a6675a455a5b18fcd8 | |
tree | 3904a4c8af78d571c1f895128ac06607bd63065b | tree | snapshot |
parent | 88187e4e0364c9c38008df05fff43428cdc41887 | commit | diff |
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.
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 | diff | blob | history |