diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-10-02 18:20:44 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-10-02 18:20:44 +0000 |
commit | 09616172377cf146517c1eb821cb5f5d9cb2a188 (patch) | |
tree | f010f168e728a106a7864da27d8f46530548404b /input/manager.c | |
parent | 4e7fe8b13bd4cd3c82da00e812e812898a366b3b (diff) |
input: removed mem leak(HID desc list attribute)
Diffstat (limited to 'input/manager.c')
-rw-r--r-- | input/manager.c | 3 |
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; } |