ObjFW  Diff

Differences From Artifact [6c7114863d]:

To Artifact [f928f923c8]:


82
83
84
85
86
87
88
89

90
91

92

93
94
95


96
97
98


99
100

101
102
103
104
105
106
107
108
82
83
84
85
86
87
88

89

90
91

92
93


94
95



96
97
98

99

100
101
102
103
104
105
106







-
+
-

+
-
+

-
-
+
+
-
-
-
+
+

-
+
-







	[[pool_list last]->object addToPool: obj];
}

- init
{
	OFList *pool_list;

	if ((self = [super init])) {
	self = [super init];
		objects = nil;

	objects = nil;
		pool_list = get_tls(pool_list_key);
	pool_list = get_tls(pool_list_key);

		if (pool_list == nil) {
			pool_list = [[OFList alloc]
	if (pool_list == nil) {
		pool_list = [[OFList alloc] initWithoutRetainAndRelease];
			    initWithoutRetainAndRelease];
			set_tls(pool_list_key, pool_list);
		}
		set_tls(pool_list_key, pool_list);
	}

		listobj = [pool_list append: self];
	listobj = [pool_list append: self];
	}

	return self;
}

- free
{
	[(OFList*)get_tls(pool_list_key) remove: listobj];