projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7309e80
)
WPS: Fix memory leak with wps_ie in wpa_bss_is_wps_candidate()
author
vamsi krishna
<vamsin@qti.qualcomm.com>
Fri, 17 Jun 2016 09:04:12 +0000
(14:34 +0530)
committer
Jouni Malinen
<j@w1.fi>
Fri, 17 Jun 2016 09:39:14 +0000
(12:39 +0300)
Fix possible memory leak in case if WPS is not enabled on the interface
for connection. This path was missed in commit
fae7b3726035b57a78aa552378fc5d15402b9ec1
('WPS: Do not expire probable
BSSes for WPS connection').
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/bss.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/bss.c
b/wpa_supplicant/bss.c
index
8830268
..
3687a2e
100644
(file)
--- a/
wpa_supplicant/bss.c
+++ b/
wpa_supplicant/bss.c
@@
-338,6
+338,7
@@
static int wpa_bss_is_wps_candidate(struct wpa_supplicant *wpa_s,
wpabuf_free(wps_ie);
return ret;
}
+ wpabuf_free(wps_ie);
#endif /* CONFIG_WPS */
return 0;