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

Stefan Tomanek stefan.tomanek at wertarbyte.de
Wed Feb 11 09:38:44 EST 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