DPP: Fix memory leak on dpp_auth_build_conf() error paths

The wpabuf for the message needs to be freed on the error paths.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-11-29 21:20:45 +02:00 committed by Jouni Malinen
parent 281f480c53
commit 8a37d54ea7

View file

@ -3248,6 +3248,7 @@ skip_wrapped_data:
return msg;
fail:
wpabuf_free(msg);
return NULL;
}