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

    r5521 r5534  
    218218 
    219219    if (turn_sock->pool) { 
    220         pj_pool_t *pool = turn_sock->pool; 
    221220        PJ_LOG(4,(turn_sock->obj_name, "TURN socket destroyed")); 
    222         turn_sock->pool = NULL; 
    223         pj_pool_release(pool); 
     221        pj_pool_safe_release(&turn_sock->pool); 
    224222    } 
    225223} 
Note: See TracChangeset for help on using the changeset viewer.