crypt32: Don't free a file store's mem store, it's already freed by the provider store.
This commit is contained in:
parent
a16ca1d039
commit
c52d110de1
|
@ -43,7 +43,6 @@ static void WINAPI CRYPT_FileCloseStore(HCERTSTORE hCertStore, DWORD dwFlags)
|
|||
if (store->dirty)
|
||||
CertSaveStore(store->memStore, X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
|
||||
store->type, CERT_STORE_SAVE_TO_FILE, store->file, 0);
|
||||
CertCloseStore(store->memStore, dwFlags);
|
||||
CloseHandle(store->file);
|
||||
CryptMemFree(store);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue