mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
Merge pull request #659 from Ragora/bugfix-delete-and-new-mismatch
[TAML] BugFix: Correct a delete and new[] mismatch in tamlWriteNode
This commit is contained in:
commit
dec886036c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ void TamlWriteNode::resetNode( void )
|
|||
// Clear fields.
|
||||
for( Vector<TamlWriteNode::FieldValuePair*>::iterator itr = mFields.begin(); itr != mFields.end(); ++itr )
|
||||
{
|
||||
delete (*itr)->mpValue;
|
||||
delete[] (*itr)->mpValue;
|
||||
}
|
||||
mFields.clear();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue