diff options
author | Stefan Agner <stefan@agner.ch> | 2018-08-28 13:29:54 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-08-28 14:07:16 +0200 |
commit | b2dd9f2e5a8a4a6afa9d41411cdbfc2f5ceeba71 (patch) | |
tree | 4b6c5124e572372f3d9fd332b149ca11be0511f5 /fs/affs | |
parent | HID: input: fix leaking custom input node name (diff) | |
download | linux-b2dd9f2e5a8a4a6afa9d41411cdbfc2f5ceeba71.tar.xz linux-b2dd9f2e5a8a4a6afa9d41411cdbfc2f5ceeba71.zip |
HID: core: fix memory leak on probe
The dynamically allocted collection stack does not get freed in
all situations. Make sure to also free the collection stack when
using the parser in hid_open_report().
Fixes: 08a8a7cf1459 ("HID: core: do not upper bound the collection stack")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions