cleanup todos

This commit is contained in:
Jeff Hutchinson 2021-08-19 22:25:11 -04:00
parent 59312d7d52
commit 1b54162580
4 changed files with 4 additions and 16 deletions

View file

@ -1921,9 +1921,8 @@ StringTableEntry getModNameFromPath(const char *path)
void postConsoleInput( RawData data )
{
// TODO(JTH): Mem leak
// Schedule this to happen at the next time event.
ConsoleValue* argv = new ConsoleValue[2]();
ConsoleValue argv[2];
argv[0].setString("eval");
argv[1].setString(reinterpret_cast<const char*>(data.data));