aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-08-26 16:08:22 +0200
committerHans de Goede <[email protected]>2021-08-26 16:09:43 +0200
commit0487d4fc42d7f31a56cfd9e2237f9ebd889e6112 (patch)
treee13e56c0d08fb682952301ea3ad8de347d6d803b /drivers/usb/cdns3/cdns3-trace.c
parentfb49d9946f96081f9a05d8f305b3f40285afe4a9 (diff)
platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
As pointed out be Kees Cook if we return -EIO because the obj->type != ACPI_TYPE_BUFFER, then we must kfree the output buffer before the return. Fixes: 1a258e670434 ("platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver") Reported-by: Kees Cook <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions