1
0
Fork 0

Fix minor memory leak in terrainsampler

Thanks to ThorstenB
This commit is contained in:
Torsten Dreyer 2011-07-18 11:55:50 +02:00
parent c6d5b6ebdb
commit 7c56cc617d

View file

@ -366,6 +366,7 @@ void TerrainSamplerImplementation::reinit()
if( subsys == NULL )
break;
remove_subsystem( subsystemName );
delete subsys;
}
init();