Fixed minor MakeNSIS leaks (Bug #3474662)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6309 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-03-19 02:11:37 +00:00
parent a2fe9bec1b
commit d3d637fab9
5 changed files with 21 additions and 11 deletions

View file

@ -1390,6 +1390,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
if (_fputts(text, fp) < 0)
{
fclose(fp);
ERROR_MSG(_T("!appendfile: error writing to \"%s\".\n"), file);
return PS_ERROR;
}