@@ -791,11 +791,11 @@ - (OFXMLAttribute *)attributeForName: (OFString *)attributeName { for (OFXMLAttribute *attribute in _attributes) if (attribute->_namespace == nil && [attribute->_name isEqual: attributeName]) - return [[attribute retain] autorelease]; + return attribute; return nil; } - (OFXMLAttribute *)attributeForName: (OFString *)attributeName @@ -805,11 +805,11 @@ return [self attributeForName: attributeName]; for (OFXMLAttribute *attribute in _attributes) if ([attribute->_namespace isEqual: attributeNS] && [attribute->_name isEqual: attributeName]) - return [[attribute retain] autorelease]; + return attribute; return nil; } - (void)removeAttributeForName: (OFString *)attributeName