diff --git a/simgear/nasal/gc.c b/simgear/nasal/gc.c index 67a0100b..1be014f2 100644 --- a/simgear/nasal/gc.c +++ b/simgear/nasal/gc.c @@ -420,6 +420,8 @@ static void reap(struct naPool* p) if(p->freesz < freesz) { naFree(p->free0); p->freesz = freesz; + // REVIEW: Memory Leak - 1,032,712 bytes in 6 blocks are still reachable + // naFree(p->free0) is required during shutdown p->free = p->free0 = naAlloc(sizeof(void*) * p->freesz); }