WNM: Fix possible memory leak by free buf
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Mon, 19 Jan 2015 01:44:39 +0000 (20:44 -0500)
committerJouni Malinen <j@w1.fi>
Tue, 20 Jan 2015 00:14:19 +0000 (02:14 +0200)
commitb62b0cb78a741cfe288feb97e4da540a7c872d00
tree69d5d479d4a53dca9e3966b69e55ceca5bfd2e7e
parent9bd02739314d483ed0f583feef8081092ca5a5ca
WNM: Fix possible memory leak by free buf

Buf is allocated and may not be freed on an error path.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
src/ap/wnm_ap.c