[PATCH] Add helper function to clear and free wpa_psk list

Stefan Tomanek stefan.tomanek
Wed Feb 11 06:38:44 PST 2015


Dies schrieb Stefan Tomanek (stefan.tomanek at wertarbyte.de):

> This change adds the function hostapd_config_clear_wpa_psk() that deletes an
> entire wpa_psk structure, making sure to follow the linked list and to free the
> allocated memory of each PSK node. This helps to prevent memory leaks when
> using PSKs from multiple sources and reconfiguring the AP during runtime.

Any feedback?



More information about the Hostap mailing list