commit | 19f798ad009a1c9aebe6c248173e4a7ec694c680 | [log] [tgz] |
---|---|---|
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | Tue Apr 24 15:00:34 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 24 11:28:25 2012 -0700 |
tree | de47eddffc271682ae49c16c26fbfffd999143c9 | |
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>