crypt32: Don't free a file store's mem store, it's already freed by the provider store.

This commit is contained in:
Juan Lang 2009-11-04 16:46:13 -08:00 committed by Alexandre Julliard
parent a16ca1d039
commit c52d110de1
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}