summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2012-04-24 15:00:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-24 11:28:25 -0700
commit19f798ad009a1c9aebe6c248173e4a7ec694c680 (patch)
treede47eddffc271682ae49c16c26fbfffd999143c9 /fs
parent89f5e7102a56bcd1b5b0691085d0839e92b3ca04 (diff)
downloadlinux-19f798ad009a1c9aebe6c248173e4a7ec694c680.tar.bz2
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions