diff --git a/libfreerdp-crypto/nla.c b/libfreerdp-crypto/nla.c index f39417311..243cb50e6 100644 --- a/libfreerdp-crypto/nla.c +++ b/libfreerdp-crypto/nla.c @@ -251,7 +251,7 @@ int credssp_client_authenticate(rdpCredssp* credssp) SECURITY_NATIVE_DREP, (have_input_buffer) ? &input_buffer_desc : NULL, 0, &credssp->context, &output_buffer_desc, &pfContextAttr, &expiration); - if have_input_buffer && (input_buffer.pvBuffer != NULL) + if (have_input_buffer && (input_buffer.pvBuffer != NULL)) { free(input_buffer.pvBuffer); input_buffer.pvBuffer = NULL;