crypt32: Fix leak on error path.
Spotted by Chris Ahrendt.
This commit is contained in:
parent
100546686c
commit
90d7172bcb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue