Index: src/OFMutableAdjacentArray.m ================================================================== --- src/OFMutableAdjacentArray.m +++ src/OFMutableAdjacentArray.m @@ -162,16 +162,16 @@ objects = _array.items; count = _array.count; for (size_t i = 0; i < count; i++) { if ([objects[i] isEqual: object]) { - object = objects[i]; + id tmp = objects[i]; [_array removeItemAtIndex: i]; _mutations++; - [object release]; + [tmp release]; objects = _array.items; i--; count--; continue;