summaryrefslogtreecommitdiffstats
path: root/input/manager.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-10-02 18:20:44 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-10-02 18:20:44 +0000
commit09616172377cf146517c1eb821cb5f5d9cb2a188 (patch)
treef010f168e728a106a7864da27d8f46530548404b /input/manager.c
parent4e7fe8b13bd4cd3c82da00e812e812898a366b3b (diff)
input: removed mem leak(HID desc list attribute)
Diffstat (limited to 'input/manager.c')
-rw-r--r--input/manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/manager.c b/input/manager.c
index 1468b910..dc209a44 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -356,6 +356,9 @@ cleanup:
close(pr->ctrl_sock);
pending_req_free(pr);
+ if (hidp.rd_data)
+ g_free(hidp.rd_data);
+
return FALSE;
}