aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hostapd/preauth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/preauth.c b/hostapd/preauth.c
index 36af4e3..9ab41ed 100644
--- a/hostapd/preauth.c
+++ b/hostapd/preauth.c
@@ -171,6 +171,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;
}