Ignore:
Timestamp:
2013-09-22T18:17:46+02:00 (10 months ago)
Author:
moo
Message:

readonly protection for copied array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_allocator_bestfit.c

    r1136 r1385  
    193193    TRACE("freeing: %p, size=%lu", p, cur->size); 
    194194    xc_block_check(cur); 
    195     assert((char*)allocator < (char*)cur && (char*)cur < (char*)allocator + allocator->size); 
     195    assert((char*)allocator < (char*)cur); 
     196    assert((char*)cur < (char*)allocator + allocator->size); 
    196197 
    197198    /* find free block right before the p */ 
Note: See TracChangeset for help on using the changeset viewer.