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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/ice_test.c

    r5387 r5534  
    403403    } 
    404404 
    405     if (sess->pool) { 
    406         pj_pool_t *pool = sess->pool; 
    407         sess->pool = NULL; 
    408         pj_pool_release(pool); 
    409     } 
     405    pj_pool_safe_release(&sess->pool); 
    410406} 
    411407 
Note: See TracChangeset for help on using the changeset viewer.