diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-09-26 20:17:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-28 14:36:58 +0200 |
commit | daf9a56cbb791865db751d97c570d90b9e0aed20 (patch) | |
tree | 4c56e6994e952dcf7285f73e7d41265ddb6d1533 /sound/usb | |
parent | 12f34f81ba513258067714a9161463ef3d3785e5 (diff) | |
download | linux-daf9a56cbb791865db751d97c570d90b9e0aed20.tar.bz2 |
staging:rtl8192u: Remove potential memory leak
Add call to ieee80211_networks_free() to avoid potential memory
leak if allocation of pHTInfo fails.
If the third allocation fails only the first successful allocation
is freed, not the second.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions