mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
debugger support
This commit is contained in:
parent
98a2fa0f33
commit
59312d7d52
8 changed files with 46 additions and 15 deletions
|
|
@ -1923,7 +1923,7 @@ void postConsoleInput( RawData data )
|
|||
{
|
||||
// TODO(JTH): Mem leak
|
||||
// Schedule this to happen at the next time event.
|
||||
ConsoleValue* argv = new ConsoleValue[2];
|
||||
ConsoleValue* argv = new ConsoleValue[2]();
|
||||
argv[0].setString("eval");
|
||||
argv[1].setString(reinterpret_cast<const char*>(data.data));
|
||||
|
||||
|
|
@ -2563,7 +2563,7 @@ ConsoleValueToStringArrayWrapper::~ConsoleValueToStringArrayWrapper()
|
|||
|
||||
StringArrayToConsoleValueWrapper::StringArrayToConsoleValueWrapper(int targc, const char** targv)
|
||||
{
|
||||
argv = new ConsoleValue[targc];
|
||||
argv = new ConsoleValue[targc]();
|
||||
argc = targc;
|
||||
|
||||
for (int i=0; i<targc; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue