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

Jouni Malinen j
Sun Feb 22 08:31:23 PST 2015


On Mon, Jan 19, 2015 at 11:57:41PM +0100, Stefan Tomanek wrote:
> 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.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list