diff --git a/libfreerdp/core/nla.c b/libfreerdp/core/nla.c index f08899d1f..a7a0a0228 100644 --- a/libfreerdp/core/nla.c +++ b/libfreerdp/core/nla.c @@ -364,6 +364,7 @@ static BOOL nla_client_setup_identity(rdpNla* nla) if (!settings->Username) { sspi_FreeAuthIdentity(nla->identity); + free(nla->identity); nla->identity = NULL; } else if (settings->SmartcardLogon)