Juan Lang : cryptui/tests: Remove a double free.

Alexandre Julliard julliard at winehq.org
Thu Nov 5 10:50:01 CST 2009


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Nov  4 16:50:26 2009 -0800

cryptui/tests: Remove a double free.

---

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

diff --git a/dlls/cryptui/tests/cryptui.c b/dlls/cryptui/tests/cryptui.c
index 534d0e7..8d15b7f 100644
--- a/dlls/cryptui/tests/cryptui.c
+++ b/dlls/cryptui/tests/cryptui.c
@@ -317,7 +317,6 @@ static BOOL find_and_delete_cert_in_store(HCERTSTORE store, PCCERT_CONTEXT cert)
         return FALSE;
 
     CertDeleteCertificateFromStore(found);
-    CertFreeCertificateContext(found);
 
     return TRUE;
 }




More information about the wine-cvs mailing list