Ignore:
Timestamp:
Aug 6, 2019 5:00:31 AM (5 years ago)
Author:
riza
Message:

Re #2210 (misc): optimize r6049.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/android_dev.c

    r6049 r6050  
    447447{ 
    448448    and_factory *f = (and_factory*)ff; 
    449     pj_pool_t *pool; 
    450449 
    451450    jni_deinit_ids(); 
    452      
    453     pool = f->dev_pool; 
    454     f->dev_pool = NULL;     
    455     pj_pool_safe_release(&pool); 
    456      
    457     pool = f->pool; 
    458     f->pool = NULL; 
    459     pj_pool_safe_release(&pool);          
     451    pj_pool_safe_release(&f->dev_pool); 
     452    pj_pool_safe_release(&f->pool); 
    460453 
    461454    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.