Ignore:
Timestamp:
Feb 16, 2007 9:44:36 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #105: unnecessary assert in fixed buffer based pool (pool_buf) on no memory condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/pool.c

    r725 r953  
    175175    PJ_CHECK_STACK(); 
    176176 
     177    /* Size must be at least sizeof(pj_pool)+sizeof(pj_pool_block) */ 
     178    PJ_ASSERT_RETURN(initial_size >= sizeof(pj_pool_t)+sizeof(pj_pool_block), 
     179                     NULL); 
     180 
    177181    /* If callback is NULL, set calback from the policy */ 
    178182    if (callback == NULL) 
Note: See TracChangeset for help on using the changeset viewer.