Skip to content

Commit

Permalink
Add comment about arg[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Jun 6, 2022
1 parent 1bf32ed commit dfd4e7f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ bool InteractiveStartCommand::ParseCommand(char * command)
mHandler->RunInteractive(argsCount, args);
gIsCommandRunning = false;

// Do not delete arg[0]
while (--argsCount)
delete[] args[argsCount];

Expand Down

0 comments on commit dfd4e7f

Please sign in to comment.