]> git.ipfire.org Git - thirdparty/hostap.git/commit
Share a common error path for SET_NEIGHBOR control interface command
authorJouni Malinen <jouni@codeaurora.org>
Mon, 8 Nov 2021 21:42:02 +0000 (23:42 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Nov 2021 21:42:02 +0000 (23:42 +0200)
commitb389d88a78827a5ee1f25404011b4b8ca900269a
tree7ddeef87b225349365fb1110b7b03f745ea9c4d0
parent1b8eb39757317dbd9900400b2c13f1d09bc8e5b0
Share a common error path for SET_NEIGHBOR control interface command

Instead of constructing a custom error handler freeing the same set of
allocated memory areas on various error cases, share the success path
freeing implementation for the error cases as well.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hostapd/ctrl_iface.c