mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix memory leak on RSN preauth init error path
This commit is contained in:
parent
594cf8b9ef
commit
1ce77dcc66
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user