mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 08:26:39 +00:00
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 a new issue