Overview
Comment: | Fix missing return. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7455987d6ef4da0c7f773c6ce045e55e |
User & Date: | js on 2011-07-14 22:56:17 |
Other Links: | manifest | tags |
Context
2011-07-14
| ||
23:04 | Always do nothing if OF_BLOCK_BYREF_CALLER is set. check-in: eb207e5ecd user: js tags: trunk | |
22:56 | Fix missing return. check-in: 7455987d6e user: js tags: trunk | |
21:18 | Allow passing NULL to _Block_object_assign() / _Block_object_dispose(). check-in: 017a85770c user: js tags: trunk | |
Changes
Modified src/OFBlock.m from [c584d16b63] to [467fbfe40b].
︙ | ︙ | |||
250 251 252 253 254 255 256 257 258 259 260 261 262 263 | 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); } assert(of_spinlock_unlock(&spinlocks[hash])); #endif } void _Block_object_assign(void *dst_, const void *src_, const int flags_) | > > | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | 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_) |
︙ | ︙ |