Commit 90d7172b authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix leak on error path.

Spotted by Chris Ahrendt.
parent 10054668
......@@ -339,9 +339,9 @@ static BOOL import_certs_from_dir(LPCSTR path, HCERTSTORE store)
ret = TRUE;
}
}
closedir(dir);
CryptMemFree(filebuf);
}
closedir(dir);
}
return ret;
#else
......
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