]> git.ipfire.org Git - thirdparty/hostap.git/commit
Move wpa_s freeing into wpa_supplicant_deinit_iface()
authorJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 15:07:41 +0000 (18:07 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 15:07:41 +0000 (18:07 +0300)
commit18e00b5e4dfc30e27c76b9563cab618c381c74e7
treed7c8d069193feb8a99ceacab0e1ab78bb867d49c
parent754632c965a4c2a65d9d289745245a572351081d
Move wpa_s freeing into wpa_supplicant_deinit_iface()

All wpa_supplicant_deinit_iface() callers ended up freeing wpa_s
immediately after this call. Move os_free(wpa_s) into the deinit
function to share the same call and make the deinit sequence clearer.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c