]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/common/gas_server.c
DPP: Fix memory leaks in GAS server error path handling
authorJouni Malinen <j@w1.fi>
Sun, 25 Nov 2018 11:49:44 +0000 (13:49 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 25 Nov 2018 11:49:44 +0000 (13:49 +0200)
commitc7896ef9c63801c8deb2cee7d980c5578649129d
tree8b531e0e3b3abf06cc5dbff1f271afe3440bce84
parent931f7ff656096abcf5c992c04716a6203589b3d5
DPP: Fix memory leaks in GAS server error path handling

If local memory allocation for the GAS response failed, couple of error
paths ended up leaking some memory maintaining the state for the
exchange. Fix that by freeing the context properly.

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