BUG: The operator precedence is [] followed by *. Calling this method was causing out of array index segfaults bounds
This commit is contained in:
parent
75b974eaf9
commit
7890524cd9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue