mesh: Write close reason from Mesh Peering Close to debug log
[mech_eap.git] / wpa_supplicant / bss.c
index 8830268..3687a2e 100644 (file)
@@ -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;