Juan Lang : crypt32: Fix a leak in the tests.
Alexandre Julliard
julliard at winehq.org
Fri Nov 2 08:10:17 CDT 2007
Module: wine
Branch: master
Commit: 9429504c70f9b5bfbe88270575d30f0428303054
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9429504c70f9b5bfbe88270575d30f0428303054
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Nov 1 07:33:56 2007 -0700
crypt32: Fix a leak in the tests.
---
dlls/crypt32/tests/cert.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 14549eb..8e4bc5d 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -2786,6 +2786,7 @@ static void testAcquireCertPrivateKey(void)
&keyContext, &size);
ok(ret, "CertGetCertificateContextProperty failed: %08x\n",
GetLastError());
+ CryptReleaseContext(certCSP, 0);
CryptDestroyKey(key);
}
More information about the wine-cvs
mailing list