@@ -119,12 +119,12 @@ if (previousPool != nil) previousPool->nextPool = self; size = GROW_SIZE; - objects = [self allocMemoryWithItemSize: sizeof(id) - count: GROW_SIZE]; + objects = [self allocMemoryWithSize: sizeof(id) + count: GROW_SIZE]; } @catch (id e) { [self release]; @throw e; } @@ -133,11 +133,11 @@ - (void)_addObject: (id)object { if (count + 1 > size) { objects = [self resizeMemory: objects - itemSize: sizeof(id) + size: sizeof(id) count: size + GROW_SIZE]; size += GROW_SIZE; } objects[count] = object;