summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-30 18:46:19 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-30 18:46:19 +0000
commitc13abd60b0fd396820fe8160b893e95df7ed286b (patch)
treec498f0e72c8754dd4994cd3cfe887300e707a1ea /input
parenta19826fc877b376b9456e612b1a82daba8661724 (diff)
input: close interrupt channel after CreateDevice has been called
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)