diff --git a/ChangeLog b/ChangeLog index e97a1e17f..ed9c618d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-16 Richard Frith-Macdonald + + * Source/NSDebug.m: Fix memory leak when adding new class to array + of those being recorded - report by Frederic.De.Jaeger + 2000-08-13 Manuel Guesdon * Tools/gsdoc.gsdoc: aded examples on how to use AutoDoc and GSDoc. diff --git a/Source/NSDebug.m b/Source/NSDebug.m index 8523c0489..748ac6e6c 100644 --- a/Source/NSDebug.m +++ b/Source/NSDebug.m @@ -143,6 +143,7 @@ GSDebugAllocationAdd(Class c) NSZoneFree(NSDefaultMallocZone(), the_table); } the_table = tmp; + table_size = more; } the_table[num_classes].class = c; the_table[num_classes].count = 1;