Fix a memory leak on mesh_attr_text() error path
authorJouni Malinen <j@w1.fi>
Sun, 19 Apr 2015 08:57:05 +0000 (11:57 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Apr 2015 08:44:19 +0000 (11:44 +0300)
commitc9bf7b66234eafc07db6fda9cfc26e0c151e417e
treecdcd4ab287ab6bdf506fcfd7ce1028bdff46f8b3
parentd4c4ec9240eed83f51300da17a7847cb36549dd7
Fix a memory leak on mesh_attr_text() error path

Should there not be enough room in the output buffer, the
bss_basic_rate_set line would not be printed. This error case was
handled otherwise, but the temporary memory allocation for building the
information was not freed.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh.c