Minor memory leak fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7205 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-08-16 11:57:04 +00:00
parent 02dccd04ee
commit 62f3c66829
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <mguesdon@orange-concept.com>
* Tools/gsdoc.gsdoc: aded examples on how to use AutoDoc and GSDoc.

View file

@ -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;