summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/themerc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/themerc.c b/openbox/themerc.c
index b79fc6e1..bcc669e5 100644
--- a/openbox/themerc.c
+++ b/openbox/themerc.c
@@ -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 */