Remove ssg kids in a an attepmpt to fix one memory leak. We think the
remaining leak is ssg's fault.
This commit is contained in:
parent
2375ae99e3
commit
5d9577f806
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ FGTileEntry::free_tile()
|
|||
FG_LOG( FG_TERRAIN, FG_DEBUG,
|
||||
"Found a kid to delete " << kid);
|
||||
found_kid = true;
|
||||
parent->removeKid( i );
|
||||
}
|
||||
}
|
||||
if ( ! found_kid ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue