diff --git a/ruamoko/lib/AutoreleasePool.r b/ruamoko/lib/AutoreleasePool.r index 36883db07..6d8077cfc 100644 --- a/ruamoko/lib/AutoreleasePool.r +++ b/ruamoko/lib/AutoreleasePool.r @@ -24,7 +24,7 @@ + (void) addObject: (id)anObject { - if (!poolStack || [poolStack count]) + if (!poolStack || ![poolStack count]) [[AutoreleasePool alloc] init]; [[poolStack lastObject] addObject: anObject];