Browse Source

Fixed memory leak in WPS PBC overlap detection

Jouni Malinen 16 years ago
parent
commit
484957ae6c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/wps_supplicant.c

+ 2 - 0
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);