The wpabuf for the message needs to be freed on the error paths. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
@@ -3248,6 +3248,7 @@ skip_wrapped_data:
return msg;
fail:
+ wpabuf_free(msg);
return NULL;
}