Index: src/OFFileIRIHandler.m ================================================================== --- src/OFFileIRIHandler.m +++ src/OFFileIRIHandler.m @@ -1700,12 +1700,18 @@ close(fd); } # endif [*data retain]; + if (type != NULL) + [*type retain]; objc_autoreleasePoolPop(pool); + + [*data autorelease]; + if (type != NULL) + [*type autorelease]; } - (void)setExtendedAttributeData: (OFData *)data andType: (id)type forName: (OFString *)name