crypt32(1/13): Free default chain engine

Juan Lang juan.lang at gmail.com
Wed Aug 15 18:46:05 CDT 2007


--Juan
-------------- next part --------------
From 0b9d1aa9102ec11c8e29b90547b307ef4c61bcd1 Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Wed, 15 Aug 2007 16:22:43 -0700
Subject: [PATCH] Free default chain engine
---
 dlls/crypt32/crypt32_private.h |    1 +
 dlls/crypt32/main.c            |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/crypt32_private.h b/dlls/crypt32/crypt32_private.h
index a7bd2b3..9104b98 100644
--- a/dlls/crypt32/crypt32_private.h
+++ b/dlls/crypt32/crypt32_private.h
@@ -126,6 +126,7 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void
 void crypt_oid_init(HINSTANCE hinst);
 void crypt_oid_free(void);
 void crypt_sip_free(void);
+void default_chain_engine_free(void);
 
 /* Some typedefs that make it easier to abstract which type of context we're
  * working with.
diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 72bdfac..aec288d 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -44,6 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance,
         case DLL_PROCESS_DETACH:
             crypt_oid_free();
             crypt_sip_free();
+            default_chain_engine_free();
             if (hDefProv) CryptReleaseContext(hDefProv, 0);
             break;
     }
-- 
1.4.1


More information about the wine-patches mailing list