Commit 0751d9c0 authored by Karthik Krishnan's avatar Karthik Krishnan
Browse files

BUG: The operator precedence is [] followed by *. Calling this method was...

BUG: The operator precedence is [] followed by *. Calling this method was causing out of array index segfaults bounds
parent 006fb95f
......@@ -364,7 +364,7 @@ void CommandLineArguments::DeleteRemainingArguments(int argc, char*** argv)
int cc;
for ( cc = 0; cc < argc; ++ cc )
{
delete [] *argv[cc];
delete [] (*argv)[cc];
}
delete [] *argv;
}
......
Markdown is supported
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