ObjFW  Check-in [ca15726954]

Overview
Comment:OFDictionary_hashtable: Use release in dealloc
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ca157269549e43d93f84ac199faa6d605724d3852746eea4628942742f154a2c
User & Date: js on 2015-02-19 00:08:57
Other Links: manifest | tags
Context
2015-02-20
18:41
Use a mutex for gai_strerror() if necessary check-in: 724e07f923 user: js tags: trunk
2015-02-19
00:08
OFDictionary_hashtable: Use release in dealloc check-in: ca15726954 user: js tags: trunk
2015-02-18
22:56
Add of_getsockname() and make use of it check-in: f18615e057 user: js tags: trunk
Changes

Modified src/OFDictionary_hashtable.m from [0d9c86e55f] to [bb3cc5cb8b].

291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
	}

	return self;
}

- (void)dealloc
{
	[_mapTable dealloc];

	[super dealloc];
}

- (id)objectForKey: (id)key
{
	return [_mapTable valueForKey: key];







|







291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
	}

	return self;
}

- (void)dealloc
{
	[_mapTable release];

	[super dealloc];
}

- (id)objectForKey: (id)key
{
	return [_mapTable valueForKey: key];