Ignore:
Timestamp:
Jan 19, 2017 7:41:25 AM (4 years ago)
Author:
nanang
Message:

Re #1513: Applied the new API pj_pool_safe_release().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c

    r5325 r5534  
    567567 
    568568    if (listener->factory.pool) { 
    569         pj_pool_t *pool = listener->factory.pool; 
    570  
    571569        PJ_LOG(4,(listener->factory.obj_name,  "SIP TCP transport destroyed")); 
    572  
    573         listener->factory.pool = NULL; 
    574         pj_pool_release(pool); 
     570        pj_pool_safe_release(&listener->factory.pool); 
    575571    } 
    576572} 
Note: See TracChangeset for help on using the changeset viewer.