diff options
| author | Hanno Zulla <[email protected]> | 2020-02-18 11:37:47 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2020-02-18 13:43:45 +0000 |
| commit | 789a2c250340666220fa74bc6c8f58497e3863b3 (patch) | |
| tree | 8f4e8b7be70806234ce887305a629abcf44b2638 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override (diff) | |
| download | kernel-789a2c250340666220fa74bc6c8f58497e3863b3.tar.gz kernel-789a2c250340666220fa74bc6c8f58497e3863b3.zip | |
HID: hid-bigbenff: fix general protection fault caused by double kfree
The struct *bigben was allocated via devm_kzalloc() and then used as a
parameter in input_ff_create_memless(). This caused a double kfree
during removal of the device, since both the managed resource API and
ml_ff_destroy() in drivers/input/ff-memless.c would call kfree() on it.
Signed-off-by: Hanno Zulla <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
