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/pjmedia/src/pjmedia-audiodev/null_dev.c

    r3553 r5534  
    161161{ 
    162162    struct null_audio_factory *nf = (struct null_audio_factory*)f; 
    163     pj_pool_t *pool = nf->pool; 
    164  
    165     nf->pool = NULL; 
    166     pj_pool_release(pool); 
     163 
     164    pj_pool_safe_release(&nf->pool); 
    167165 
    168166    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.