Fixed memory leak in WPS PBC overlap detection
authorJouni Malinen <j@w1.fi>
Mon, 15 Dec 2008 17:50:53 +0000 (19:50 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 15 Dec 2008 17:50:53 +0000 (19:50 +0200)
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);