summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHanno Zulla <kontakt@hanno.de>2020-02-18 12:37:47 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2020-02-18 14:43:45 +0100
commit789a2c250340666220fa74bc6c8f58497e3863b3 (patch)
tree8f4e8b7be70806234ce887305a629abcf44b2638 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentbe0aba826c4a6ba5929def1962a90d6127871969 (diff)
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 <kontakt@hanno.de> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions