mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
Fix memory leak in ACS offload operation
freq_list is built in allocated heap memory and it needs to be freed before returning from this function. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
e86ba912aa
commit
23acdd9f33
@ -950,6 +950,7 @@ int hostapd_drv_do_acs(struct hostapd_data *hapd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = hapd->driver->do_acs(hapd->drv_priv, ¶ms);
|
ret = hapd->driver->do_acs(hapd->drv_priv, ¶ms);
|
||||||
|
os_free(freq_list);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user