mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
Release memory
This commit is contained in:
parent
e46e744dc7
commit
11a9edd263
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ DefineEngineStaticMethod( TerrainBlock, createNew, S32, (String terrainName, U32
|
|||
if( !terrain->setFile( terrFileName ) )
|
||||
{
|
||||
Con::errorf( "TerrainBlock::createNew - error creating '%s'", terrFileName.c_str() );
|
||||
delete terrain;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue