RSN IBSS: Fix segfault on error path
authorJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 18:35:16 +0000 (21:35 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 18:35:16 +0000 (21:35 +0300)
commit6f416c78676364daf2d10d147c56455770c7dcac
tree33704a28904720a063970d831e5aad17b555b816
parent2fca1f67cf4bc118dc615a49585add40751ca4d1
RSN IBSS: Fix segfault on error path

If wpa_init() fails, wpa_deinit(NULL) must not be called to avoid
hitting a NULL pointer dereference.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ibss_rsn.c