Freed most of the mapTables.
This commit is contained in:
parent
5cfcf81a67
commit
98e7afc5de
|
@ -22,12 +22,14 @@ void initAlloc(void)
|
||||||
|
|
||||||
void uninitAlloc(void)
|
void uninitAlloc(void)
|
||||||
{
|
{
|
||||||
if ([allocations count] == 0) {
|
|
||||||
NSUInteger i;
|
NSUInteger i;
|
||||||
|
|
||||||
|
// delegates might have mapTables allocated
|
||||||
|
// TODO verify they are empty
|
||||||
for (i = 0; i < [delegates count]; i++)
|
for (i = 0; i < [delegates count]; i++)
|
||||||
[[delegates objectAtIndex:i] release];
|
[[delegates objectAtIndex:i] release];
|
||||||
[delegates release];
|
[delegates release];
|
||||||
|
if ([allocations count] == 0) {
|
||||||
[allocations release];
|
[allocations release];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue