diff --git a/libfreerdp-crypto/nla.c b/libfreerdp-crypto/nla.c index 86c27cd67..b071168df 100644 --- a/libfreerdp-crypto/nla.c +++ b/libfreerdp-crypto/nla.c @@ -238,6 +238,9 @@ int credssp_client_authenticate(rdpCredssp* credssp) while (true) { +#ifdef WITH_DEBUG_CREDSSP + printf("credssp_client_authenticate loop"); +#endif output_buffer_desc.ulVersion = SECBUFFER_VERSION; output_buffer_desc.cBuffers = 1; output_buffer_desc.pBuffers = &output_buffer; @@ -253,7 +256,7 @@ int credssp_client_authenticate(rdpCredssp* credssp) if (have_input_buffer && (input_buffer.pvBuffer != NULL)) { -// free(input_buffer.pvBuffer); + free(input_buffer.pvBuffer); input_buffer.pvBuffer = NULL; }