ObjFW  Check-in [58952fef39]

Overview
Comment:OFZIP: Fix a missing retain

This should not really matter, though, as the pool into which this
object goes is never drained before the application terminates.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 58952fef39f095a092111c6002c2e770d68e3f6809cb11c257ae9ef66568541c
User & Date: js on 2016-05-22 20:06:26
Other Links: manifest | tags
Context
2016-05-22
20:14
OFTarArchiveEntry: Rename name to fileName check-in: b10933a514 user: js tags: trunk
20:06
OFZIP: Fix a missing retain check-in: 58952fef39 user: js tags: trunk
20:00
OFZIP: Only allow safe modes for .gz files check-in: 5b5f4ec214 user: js tags: trunk
Changes

Modified utils/ofzip/ZIPArchive.m from [71fb0eed5b] to [63ecae10f5].

70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
}

- initWithFile: (OFFile*)file
{
	self = [super init];

	@try {
		_archive = [OFZIPArchive archiveWithSeekableStream: file];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}







|







70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
}

- initWithFile: (OFFile*)file
{
	self = [super init];

	@try {
		_archive = [[OFZIPArchive alloc] initWithSeekableStream: file];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}