git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-20 07:16:54 +00:00
parent 04d7eed1d5
commit fd40d038b3

View File

@ -759,7 +759,7 @@ void cl::ParseCommandLineOptions(int argc, char **argv,
// Free all the strdup()ed strings.
for (std::vector<char*>::iterator i = newArgv.begin(), e = newArgv.end();
i != e; ++i)
free (*i);
free(*i);
}
// If we had an error processing our arguments, don't let the program execute