Differences From Artifact [9f99b09857]:
- File src/OFBlock.m — part of check-in [7025192253] at 2011-07-14 21:18:10 on branch 0.5 — Allow passing NULL to _Block_object_assign() / _Block_object_dispose(). (user: js, size: 11403) [annotate] [blame] [check-ins using]
To Artifact [2087d2a41e]:
- File src/OFBlock.m — part of check-in [989d2c3e36] at 2011-07-14 22:56:17 on branch 0.5 — Fix missing return. (user: js, size: 11414) [annotate] [blame] [check-ins using]
︙ | |||
221 222 223 224 225 226 227 228 229 230 231 232 233 234 | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | + + | if ((--block->flags & OF_BLOCK_REFCOUNT_MASK) == 0) { assert(of_spinlock_unlock(&spinlocks[hash])); if (block->flags & OF_BLOCK_HAS_COPY_DISPOSE) block->descriptor->dispose_helper(block); free(block); return; } assert(of_spinlock_unlock(&spinlocks[hash])); #endif } void _Block_object_assign(void *dst_, const void *src_, const int flags_) |
︙ |