close the channel by unref'ing it
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/themerc.c
→
openbox/themerc.c
@@ -137,7 +137,7 @@
if (chan != NULL) { parse(path, g_io_channel_unix_get_fd(chan)); g_free(path); - g_io_channel_close(chan); + g_io_channel_unref(chan); /* close the channel */ } /* non-NULL defaults */