Commit 7c469e06 authored by Ken Martin's avatar Ken Martin
Browse files

fix to memory problem

parent ad8b970c
......@@ -334,8 +334,12 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[])
free(sources);
free(commands);
info->CAPI->FreeArguments(numConcrete,concrete);
info->CAPI->FreeArguments(newArgc, newArgv);
for (i = 0; i < numConcrete; ++i)
{
free(concrete[i]);
}
free(concrete);
return 1;
}
......
Supports Markdown
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