core/heap.c
/* We leak hotp trampolines as part of fix for case 9593; so, during a detach
 * we can't delete the trampoline heap.  However if that heap's lock isn't
 * deleted, we'll assert.  This routine is used only for that.  Normally, we
 * should call special_heap_exit() which deletes the lock. */
We leak hotp trampolines as part of fix for case 9593; so, during a detach
we can't delete the trampoline heap.  However if that heap's lock isn't
deleted, we'll assert.  This routine is used only for that.  Normally, we
should call special_heap_exit() which deletes the lock.
We leak hotp trampolines as part of fix for case 9593 ; so during a detach we can ' t delete the trampoline heap . However if that heap ' s lock isn ' t deleted we ' ll assert . This routine is used only for that . Normally we should call special_heap_exit () which deletes the lock .
void
special_heap_delete_lock(void *special)
{
    special_units_t *su = (special_units_t *)special;
    ASSERT(su != NULL);
    if (su == NULL)
        return;
    ASSERT(su->use_lock);
    if (su->use_lock)
        DELETE_LOCK(su->lock);
}
void special_heap_delete_lock ( void * special ) { special_units_t * su = ( special_units_t * ) special ; ASSERT ( su != NULL ) ; if ( su == NULL ) return ; ASSERT ( su -> use_lock ) ; if ( su -> use_lock ) DELETE_LOCK ( su -> lock ) ; }
We leak hotp trampolines as part of fix for case 9593; so, during a detach
 we can't delete the trampoline heap.
We leak hotp trampolines as part of fix for case 9593 ; so during a detach we can ' t delete the trampoline heap .
/* No one calls this routine unless they have a lock to delete. */