Differences From Artifact [2cf6c520ad]:
- File
src/OFObject.m
— part of check-in
[3d8286feee]
at
2020-11-04 23:18:25
on branch trunk
— Remove of_free()
While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. (user: js, size: 32760) [annotate] [blame] [check-ins using]
To Artifact [b6169ba098]:
- File
src/OFObject.m
— part of check-in
[2bb3136a7f]
at
2020-11-05 02:35:43
on branch trunk
— Remove -[allocZeroedMemoryWithSize:]
This is no longer being used. (user: js, size: 31838) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1138 1139 1140 1141 1142 1143 1144 | { if OF_UNLIKELY (count > SIZE_MAX / size) @throw [OFOutOfRangeException exception]; return [self allocMemoryWithSize: size * count]; } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 | { if OF_UNLIKELY (count > SIZE_MAX / size) @throw [OFOutOfRangeException exception]; return [self allocMemoryWithSize: size * count]; } - (void *)resizeMemory: (void *)pointer size: (size_t)size { void *new; struct pre_mem *preMem; if OF_UNLIKELY (pointer == NULL) |
︙ | ︙ |