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:
parent
281f480c53
commit
8a37d54ea7
1 changed files with 1 additions and 0 deletions
|
@ -3248,6 +3248,7 @@ skip_wrapped_data:
|
|||
return msg;
|
||||
|
||||
fail:
|
||||
wpabuf_free(msg);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue