Game Development Community

Lang.cc: Destructor using wrong delete operator

by Richard McKinney · in Torque Game Builder · 09/18/2006 (10:08 am) · 0 replies

LangFile destructor is using SAFE_DELETE where it should be using SAFE_DELETE_ARRAY for both mLangName and mLangFile. Currently hits an assertion when it tries to deallocate it.