fix memory leak

svn path=/trunk/; revision=31894
This commit is contained in:
Christoph von Wittich 2008-01-19 17:29:49 +00:00
parent 5af1cb9136
commit 21d4613b0f

View file

@ -186,6 +186,9 @@ VOID ExitBatch (LPTSTR msg)
bc->hBatchFile = INVALID_HANDLE_VALUE;
}
if (bc->raw_params)
cmd_free(bc->raw_params);
if (bc->params)
cmd_free(bc->params);