mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
d45b3957a1
commit
a32b12d4a0
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue