From 1ce77dcc66bdd8c44f85d1bea95526e4407953e9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 6 Jan 2010 21:14:09 +0200 Subject: [PATCH] Fix memory leak on RSN preauth init error path --- src/ap/preauth_auth.c | 1 + 1 file changed, 1 insertion(+) 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; }