close the channel by unref'ing it

This commit is contained in:
Dana Jansens 2003-03-19 07:34:31 +00:00
parent 60cbb9ee92
commit 0a855f3e49

View file

@ -137,7 +137,7 @@ void themerc_startup()
if (chan != NULL) { if (chan != NULL) {
parse(path, g_io_channel_unix_get_fd(chan)); parse(path, g_io_channel_unix_get_fd(chan));
g_free(path); g_free(path);
g_io_channel_close(chan); g_io_channel_unref(chan); /* close the channel */
} }
/* non-NULL defaults */ /* non-NULL defaults */