diff options
| author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2012-04-24 15:00:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-24 11:28:25 -0700 |
| commit | 19f798ad009a1c9aebe6c248173e4a7ec694c680 (patch) | |
| tree | de47eddffc271682ae49c16c26fbfffd999143c9 /include/linux/backing-dev.h | |
| parent | 89f5e7102a56bcd1b5b0691085d0839e92b3ca04 (diff) | |
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 'include/linux/backing-dev.h')
0 files changed, 0 insertions, 0 deletions
