Browse Source

Fix issue with wrong deallocations

pull/8/head
Anton Tarasenko 3 years ago
parent
commit
955d9b787a
  1. 3
      sources/Commands/BuiltInCommands/ACommandHelp.uc

3
sources/Commands/BuiltInCommands/ACommandHelp.uc

@ -60,9 +60,6 @@ protected function Executed(Command.CallData callData, EPlayer callerPlayer)
commandsToDisplay = DynamicArray(parameters.GetItem(P("commands"))); commandsToDisplay = DynamicArray(parameters.GetItem(P("commands")));
DisplayCommandHelpPages(callerPlayer, commandsToDisplay); DisplayCommandHelpPages(callerPlayer, commandsToDisplay);
} }
_.memory.Free(callerPlayer);
_.memory.Free(parameters);
_.memory.Free(options);
} }
private final function DisplayCommandList(EPlayer player) private final function DisplayCommandList(EPlayer player)

Loading…
Cancel
Save