fix leak of NegoToken

This commit is contained in:
David Fort 2022-10-13 11:39:43 +02:00 committed by akallabeth
parent f76c14c256
commit 8d3069e879

View File

@ -520,6 +520,8 @@ void credssp_auth_take_input_buffer(rdpCredsspAuth* auth, SecBuffer* buffer)
WINPR_ASSERT(auth);
WINPR_ASSERT(buffer);
sspi_SecBufferFree(&auth->input_buffer);
auth->input_buffer = *buffer;
auth->input_buffer.BufferType = SECBUFFER_TOKEN;