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-videodev/avi_dev.c

    r4537 r5534  
    193193{ 
    194194    struct avi_factory *cf = (struct avi_factory*)f; 
    195     pj_pool_t *pool = cf->pool; 
    196  
    197     cf->pool = NULL; 
    198     pj_pool_release(pool); 
     195 
     196    pj_pool_safe_release(&cf->pool); 
    199197 
    200198    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.