@@ -209,11 +209,11 @@ return new; } - (id)objectAtIndex: (size_t)index { - return [[*((OFObject**)[array itemAtIndex: index]) retain] autorelease]; + return *((OFObject**)[array itemAtIndex: index]); } - (size_t)indexOfObject: (OFObject*)obj { id *objs = [array cArray]; @@ -246,18 +246,18 @@ - (id)firstObject { id *first = [array firstItem]; - return (first != NULL ? [[*first retain] autorelease] : nil); + return (first != NULL ? *first : nil); } - (id)lastObject { id *last = [array lastItem]; - return (last != NULL ? [[*last retain] autorelease] : nil); + return (last != NULL ? *last : nil); } - (OFString*)componentsJoinedByString: (OFString*)separator { OFString *str;