ObjFW  Diff

Differences From Artifact [160928f0d5]:

To Artifact [426a03f6cb]:


172
173
174
175
176
177
178
179
180
181
182


183
184
185
186
187
188
189

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{
	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"rb"];
	@try {
		return [self initWithSeekableStream: file];
	} @finally {
		[file release];
	}


}
#endif

- (void)dealloc
{
	[_stream release];
	[_archiveComment release];







|



>
>







172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191

#ifdef OF_HAVE_FILES
- initWithPath: (OFString *)path
{
	OFFile *file = [[OFFile alloc] initWithPath: path
					       mode: @"rb"];
	@try {
		self = [self initWithSeekableStream: file];
	} @finally {
		[file release];
	}

	return self;
}
#endif

- (void)dealloc
{
	[_stream release];
	[_archiveComment release];