mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code.
This commit is contained in:
parent
d76c73c252
commit
8956559bfd
44 changed files with 124 additions and 258 deletions
|
|
@ -424,6 +424,8 @@ bool TSShapeConstructor::onAdd()
|
|||
group = new SimGroup();
|
||||
if ( !group->registerObject("TSShapeConstructorGroup") )
|
||||
{
|
||||
SAFE_DELETE(group);
|
||||
|
||||
Con::errorf("TSShapeConstructor::onAdd failed: Could not register "
|
||||
"TSShapeConstructorGroup");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue