aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-06 19:14:09 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-06 19:14:09 (GMT)
commit1ce77dcc66bdd8c44f85d1bea95526e4407953e9 (patch)
tree45faab5282e189081e1ccdeeceb44dc107529efd /src/ap
parent594cf8b9ef9769d0f3c156407f033108946cec31 (diff)
downloadhostap-1ce77dcc66bdd8c44f85d1bea95526e4407953e9.zip
hostap-1ce77dcc66bdd8c44f85d1bea95526e4407953e9.tar.gz
hostap-1ce77dcc66bdd8c44f85d1bea95526e4407953e9.tar.bz2
Fix memory leak on RSN preauth init error path
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/preauth_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/preauth_auth.c b/src/ap/preauth_auth.c
index ade0a9e..8e13315 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;
}