summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/manager.c b/input/manager.c
index 8d0a9160..d7476cd7 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -260,6 +260,8 @@ failed:
cleanup:
close(pr->ctrl_sock);
+ g_io_channel_close(chan);
+ g_io_channel_unref(chan);
pending_req_free(pr);
if (hidp.rd_data)