]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix hostapd interface addition error path
authorJouni Malinen <j@w1.fi>
Thu, 8 Jan 2015 00:13:46 +0000 (02:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 8 Jan 2015 00:34:08 +0000 (02:34 +0200)
commitc1c07dcb702ab6d79c8abe28f452b92956ee508c
tree8df7a520e6b48536d5ba76b8e5379ae5a27a52a6
parent6a964b7560ab5b12b144ffaaaec07d84ffa74942
Fix hostapd interface addition error path

The local conf pointer needs to be cleared once it gets assigned to
hapd_iface to avoid double-free of the configuration data on error path.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/hostapd.c