- Timestamp:
- Jan 19, 2017 7:41:25 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/legacy_dev.c
r3553 r5534 142 142 143 143 if (status == PJ_SUCCESS) { 144 pj_pool_t *pool = wf->pool; 145 wf->pool = NULL; 146 pj_pool_release(pool); 144 pj_pool_safe_release(&wf->pool); 147 145 } 148 146 … … 456 454 457 455 if (status == PJ_SUCCESS) { 458 pj_pool_t *pool = strm->pool; 459 460 strm->pool = NULL; 461 pj_pool_release(pool); 456 pj_pool_safe_release(&strm->pool); 462 457 } 463 458
Note: See TracChangeset
for help on using the changeset viewer.