Ignore:
Timestamp:
Jan 19, 2017 7:41:25 AM (8 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/server.c

    r5387 r5534  
    255255    } 
    256256 
    257     if (test_srv->pool) { 
    258         pj_pool_t *pool = test_srv->pool; 
    259         test_srv->pool = NULL; 
    260         pj_pool_release(pool); 
    261     } 
     257    pj_pool_safe_release(&test_srv->pool); 
    262258} 
    263259 
Note: See TracChangeset for help on using the changeset viewer.