mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
* [TAML] BugFix: Correct a delete and new[] mismatch in tamlWriteNode reported by ASAN.
This commit is contained in:
parent
6f617cace8
commit
400db2da88
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