ObjFW  Check-in [98e5c7dd28]

Overview
Comment:OFFileIRIHandler: Fix missing retain + autorelease
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 98e5c7dd284110a4368958a2f579fa74b05aae5a1d17b5f218e9b9b3adaf8939
User & Date: js on 2024-04-03 20:51:31
Other Links: manifest | tags
Context
2024-04-07
22:05
Add support for extended attributes on NetBSD check-in: 153f39636e user: js tags: trunk
2024-04-03
20:51
OFFileIRIHandler: Fix missing retain + autorelease check-in: 98e5c7dd28 user: js tags: trunk
17:50
Add support for typed extended attributes on Haiku check-in: c88d1d3054 user: js tags: trunk
Changes

Modified src/OFFileIRIHandler.m from [112ff9e77e] to [ac0201bdd3].

1698
1699
1700
1701
1702
1703
1704


1705
1706




1707
1708
1709
1710
1711
1712
1713
	} @finally {
		OFFreeMemory(value);
		close(fd);
	}
# endif

	[*data retain];



	objc_autoreleasePoolPop(pool);




}

- (void)setExtendedAttributeData: (OFData *)data
			 andType: (id)type
			 forName: (OFString *)name
		     ofItemAtIRI: (OFIRI *)IRI
{







>
>


>
>
>
>







1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
	} @finally {
		OFFreeMemory(value);
		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
		     ofItemAtIRI: (OFIRI *)IRI
{