Skip to content
Snippets Groups Projects
Commit 9608c794 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

crypt32: Fix a leak on error path (Coverity).

parent 2f6393bf
No related branches found
No related tags found
No related merge requests found
......@@ -2293,7 +2293,10 @@ static BOOL CRYPT_BuildCandidateChainFromCert(CertificateChainEngine *engine,
chain->context.dwRevocationFreshnessTime = 0;
}
else
{
CRYPT_FreeSimpleChain(simpleChain);
ret = FALSE;
}
*ppChain = chain;
}
return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment