diff --git a/src/ap/preauth_auth.c b/src/ap/preauth_auth.c index ade0a9e7f..8e133158a 100644 --- a/src/ap/preauth_auth.c +++ b/src/ap/preauth_auth.c @@ -174,6 +174,7 @@ int rsn_preauth_iface_init(struct hostapd_data *hapd) if (rsn_preauth_iface_add(hapd, start)) { rsn_preauth_iface_deinit(hapd); + os_free(tmp); return -1; }