Add wpabuf_clear_free() to allow clearing of freed memory
authorJouni Malinen <j@w1.fi>
Mon, 5 Jan 2015 16:02:04 +0000 (18:02 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Jan 2015 16:02:04 +0000 (18:02 +0200)
commit77c45e2b35712d76248bdeed60e4065c0ffaa3d9
treedabd0f0a93a34fcad57700e56d57641a9fe409dd
parent59be78ef933bd8e8f44ccaca38e4cac062e5467e
Add wpabuf_clear_free() to allow clearing of freed memory

This can be useful when a wpabuf is used to store private data that
should not be left in heap after use.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/utils/wpabuf.c
src/utils/wpabuf.h