mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Entities: nullify m_uint32Values after object deletion for better detection of access to deleted objects.
This commit is contained in:
@@ -118,6 +118,7 @@ Object::~Object()
|
||||
}
|
||||
|
||||
delete [] m_uint32Values;
|
||||
m_uint32Values = 0;
|
||||
}
|
||||
|
||||
void Object::_InitValues()
|
||||
|
||||
Reference in New Issue
Block a user