crypt32: Fix a memory leak reading trusted root certs.

oldstable
Juan Lang 2009-11-02 10:54:34 -08:00 committed by Alexandre Julliard
parent 7dd75d1181
commit 7a73fd97ad
1 changed files with 1 additions and 0 deletions

View File

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