aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-15 17:50:53 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-15 17:50:53 (GMT)
commit484957ae6c88cd33946e8677b1306530657b32b6 (patch)
treecbfd7fd54c21a34ede6e8e3866114910ff84bbd1 /wpa_supplicant
parentf4f2774a96d91753811e921380856bc859888153 (diff)
downloadhostap-06-484957ae6c88cd33946e8677b1306530657b32b6.zip
hostap-06-484957ae6c88cd33946e8677b1306530657b32b6.tar.gz
hostap-06-484957ae6c88cd33946e8677b1306530657b32b6.tar.bz2
Fixed memory leak in WPS PBC overlap detection
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wps_supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 147b9c2..131506f 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -550,6 +550,8 @@ int wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s,
}
/* TODO: verify that this is reasonable dual-band situation */
+
+ wpabuf_free(ie);
}
wpabuf_free(wps_ie);