From 29d20b17031289b586fbe85e97a86b2f40c8908a Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 6 Aug 2002 18:52:45 +0000 Subject: [PATCH] Temporarily fix a crash and correctly free memory until I can sort out a problem with the partial ssg tree freeing code. --- src/Scenery/tileentry.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index 428facd19..9f10886ed 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -688,6 +688,9 @@ ssgBranch* FGTileEntry::gen_runway_lights( ssgVertexArray *points,ssgVertexArray // is intended to spread the load of freeing a complex tile out over // several frames. static int fgPartialFreeSSGtree( ssgBranch *b, int n ) { + ssgDeRefDelete( b ); + return 0; + int num_deletes = 0; if ( n > 0 ) { -- 2.39.5