cryptnet: Fix a leak.

This commit is contained in:
Juan Lang 2007-10-19 10:23:24 -07:00 committed by Alexandre Julliard
parent d0e7aaf1be
commit 25c21e5bff
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ static void test_getObjectUrl(void)
NULL);
ok(!ret && GetLastError() == CRYPT_E_NOT_FOUND,
"Expected CRYPT_E_NOT_FOUND, got %08x\n", GetLastError());
CertFreeCertificateContext(cert);
}
cert = CertCreateCertificateContext(X509_ASN_ENCODING,
certWithCRLDistPoint, sizeof(certWithCRLDistPoint));