ObjFW  Diff

Differences From Artifact [1d6bb87b12]:

To Artifact [5387ac3c3a]:


1069
1070
1071
1072
1073
1074
1075
1076

1077
1078
1079
1080
1081
1082
1083
1084
1069
1070
1071
1072
1073
1074
1075

1076

1077
1078
1079
1080
1081
1082
1083







-
+
-







	while (iter != NULL) {
		struct pre_mem *next = iter->next;

		/*
		 * We can use owner as a sentinel to prevent exploitation in
		 * case there is a buffer underflow somewhere.
		 */
		if OF_UNLIKELY (iter->owner != self)
		OF_ENSURE(iter->owner == self);
			abort();

		free(iter);

		iter = next;
	}

	free((char*)self - PRE_IVARS_ALIGN);