From 6af167ccefb2e761f459e093b372042cd5d496ac Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Mon, 21 Aug 2023 15:01:11 +0100 Subject: [PATCH] Fixup for error spotted by Larry Campbell --- Source/NSSet.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSSet.m b/Source/NSSet.m index 63146c0d1f..dde76e35d8 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;