diff options
| author | Michael Straube <[email protected]> | 2022-01-07 11:36:04 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-25 16:13:36 +0100 |
| commit | 39850edf2befe27bcb3d6c37b6ee76d2ee4df903 (patch) | |
| tree | a6635b375c889af9c0b61a0d15be9717110a51e3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6da97125036fe9b50182f1825a84b5ac057d02cf (diff) | |
staging: r8188eu: release_firmware is not called if allocation fails
In function load_firmware() release_firmware() is not called if the
allocation of pFirmware->szFwBuffer fails or if fw->size is greater
than FW_8188E_SIZE.
Move the call to release_firmware() to the exit label at the end of
the function to fix this.
Fixes: 8cd574e6af54 ("staging: r8188eu: introduce new hal dir for RTL8188eu driver")
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions