diff options
| author | Hans de Goede <[email protected]> | 2022-01-08 16:49:47 +0100 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-01-08 16:56:01 +0100 |
| commit | 02fb09459435add44bb00191ce9b040c6b4f3aae (patch) | |
| tree | c64b8d4a94189e356791c5d96d1d094bca2b1bd1 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | 62ac88a7b4619627ad2fc87f9910d63664805e85 (diff) | |
platform/x86: x86-android-tablets: Fix GPIO lookup leak on error-exit
Fix leaking the registered gpiod_lookup tables when the kcalloc() for the
i2c_clients array fails.
Fixes: ef2ac11493e2 ("platform/x86: x86-android-tablets: Add support for registering GPIO lookup tables")
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions