Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 19f798ad authored by Krzysztof Wilczynski's avatar Krzysztof Wilczynski Committed by Greg Kroah-Hartman
Browse files

staging: wlan-ng: Release struct returned by cfg80211_inform_bss to avoid potential memory leak.



Function cfg80211_inform_bss returns a pointer to a referenced struct cfg80211_bss
but no information is needed from this struct in function prism2_scan and therefore
we release it by calling cfg80211_put_bss.

Signed-off-by: default avatarKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89f5e710
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment