ObjFW  Check-in [17b2d32959]

Overview
Comment:Fix --enable-seluid24
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 17b2d32959cbcb49f474a9bb8ab744c33d8d6562c0d74c9ca37d77415a21d309
User & Date: js on 2014-02-12 00:10:01
Other Links: manifest | tags
Context
2014-02-12
03:17
Fix compilation with mingw32 check-in: fab07a40ca user: js tags: trunk
00:10
Fix --enable-seluid24 check-in: 17b2d32959 user: js tags: trunk
00:10
Fix --disable-sockets check-in: 611838d62d user: js tags: trunk
Changes

Modified src/runtime/sparsearray.m from [35d21a9661] to [a445e7d9ad].

189
190
191
192
193
194
195
196
197
198
199
200
201
202
203

	for (i = 0; i < 256; i++) {
		if (s->buckets[i] == empty_level2)
			continue;

#ifdef OF_SELUID24
		for (j = 0; j < 256; j++)
			if (!s->buckets[i]->buckets[j] == empty_level3)
				free(s->buckets[i]->buckets[j]);
#endif

		free(s->buckets[i]);
	}

	free(s);







|







189
190
191
192
193
194
195
196
197
198
199
200
201
202
203

	for (i = 0; i < 256; i++) {
		if (s->buckets[i] == empty_level2)
			continue;

#ifdef OF_SELUID24
		for (j = 0; j < 256; j++)
			if (s->buckets[i]->buckets[j] != empty_level3)
				free(s->buckets[i]->buckets[j]);
#endif

		free(s->buckets[i]);
	}

	free(s);