close the channel by unref'ing it
This commit is contained in:
parent
60cbb9ee92
commit
0a855f3e49
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ void themerc_startup()
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue