crypt32: Fix a memory leak reading trusted root certs.
This commit is contained in:
parent
7dd75d1181
commit
7a73fd97ad
|
@ -719,6 +719,7 @@ static void read_trusted_roots_from_known_locations(HCERTSTORE store)
|
|||
ret = import_certs_from_path(CRYPT_knownLocations[i], from, TRUE);
|
||||
check_and_store_certs(from, store);
|
||||
}
|
||||
CertCloseStore(from, 0);
|
||||
}
|
||||
|
||||
static HCERTSTORE create_root_store(void)
|
||||
|
|
Loading…
Reference in New Issue