Juan Lang : crypt32: Fix a memory leak in a test.

Alexandre Julliard julliard at winehq.org
Tue Nov 3 15:37:20 CST 2009


Module: wine
Branch: master
Commit: af3afcf81d9f51c20e61299e25ffa9255e01f83e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=af3afcf81d9f51c20e61299e25ffa9255e01f83e

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Nov  2 10:53:35 2009 -0800

crypt32: Fix a memory leak in a test.

---

 dlls/crypt32/tests/chain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index 7f3aa81..3f36afb 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -2117,6 +2117,7 @@ static void test_CERT_CHAIN_PARA_cbSize(void)
         pCertFreeCertificateChain(chain);
     }
 
+    CertFreeCertificateContext(cert);
     CertCloseStore(store, 0);
 }
 




More information about the wine-cvs mailing list