no need to check for null on derPubKey

This commit is contained in:
Alexandru Bagu 2021-10-22 13:51:01 -04:00 committed by akallabeth
parent 81343835e7
commit 391f2f7c4a

View File

@ -756,10 +756,7 @@ CleanUp:
wf_report_error(NULL, hr);
}
if (NULL != derPubKey)
{
free(derPubKey);
}
free(derPubKey);
if (NULL != pChainContext)
{