mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
02dccd04ee
commit
62f3c66829
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue