Ignore:
Timestamp:
Jun 30, 2016 8:23:08 AM (8 years ago)
Author:
ming
Message:

Fixed #1929: Fixed memory leak when using sip_auth_client since it's also used by other components, such as sip_dialog, publishc, and pjsua_im.

Application should use the new API pjsip_auth_clt_deinit() to release the pool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/publishc.c

    r5170 r5373  
    223223        if (pubc->mutex) 
    224224            pj_mutex_destroy(pubc->mutex); 
     225 
     226        pjsip_auth_clt_deinit(&pubc->auth_sess); 
    225227        pjsip_endpt_release_pool(pubc->endpt, pubc->pool); 
    226228    } 
Note: See TracChangeset for help on using the changeset viewer.