Fix minor memory leak in terrainsampler
Thanks to ThorstenB
This commit is contained in:
parent
c6d5b6ebdb
commit
7c56cc617d
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ void TerrainSamplerImplementation::reinit()
|
|||
if( subsys == NULL )
|
||||
break;
|
||||
remove_subsystem( subsystemName );
|
||||
delete subsys;
|
||||
}
|
||||
|
||||
init();
|
||||
|
|
Loading…
Add table
Reference in a new issue