Searched hist:"19 f798ad" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 19f798ad Tue Apr 24 09:00:34 CDT 2012 Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> 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: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 19f798ad Tue Apr 24 09:00:34 CDT 2012 Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> 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: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|