Fixed memory leak in WPS PBC overlap detection
[wpasupplicant] / wpa_supplicant / wps_supplicant.c
index 147b9c2..131506f 100644 (file)
@@ -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);