Commit 7a73fd97 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix a memory leak reading trusted root certs.

parent 7dd75d11
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment