]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Free WNM allocations cleanly in wnm-fuzzer
authorJouni Malinen <jouni@codeaurora.org>
Fri, 24 May 2019 13:30:19 +0000 (16:30 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 May 2019 13:30:19 +0000 (16:30 +0300)
commit2dfe2ad6cb6d81f2ccf3a227029fa2b0e2e841d2
tree100e946666b708ddd1b127a19255f48a24b34411
parent358141344a7b2a9745521afbe8c26ffa5d95ce41
tests: Free WNM allocations cleanly in wnm-fuzzer

Avoid a memory leak in fuzzer tests by calling wnm_deallocate_memory()
before exiting since this fuzzing wrapper does not use full
wpa_supplicant_cleanup().

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/wnm-fuzzer/wnm-fuzzer.c