diff --git a/Source/NSSet.m b/Source/NSSet.m index 63146c0d1..dde76e35d 100644 --- a/Source/NSSet.m +++ b/Source/NSSet.m @@ -450,7 +450,7 @@ - (NSArray*) allObjects { k[i] = [e nextObject]; } - return AUTORELEASE([[NSArray allocWithZone: NSDefaultMallocZone()] + result = AUTORELEASE([[NSArray allocWithZone: NSDefaultMallocZone()] initWithObjects: k count: c]); GS_ENDIDBUF(); return result;