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/pjsua-lib/pjsua_im.c

    r4890 r5373  
    388388                if (status == PJ_SUCCESS) { 
    389389                    /* Done */ 
     390                    pjsip_auth_clt_deinit(&auth); 
    390391                    return; 
    391392                } 
     393                pjsip_auth_clt_deinit(&auth); 
    392394            } 
    393395        } 
     
    490492                if (status == PJ_SUCCESS) { 
    491493                    /* Done */ 
     494                    pjsip_auth_clt_deinit(&auth); 
    492495                    return; 
    493496                } 
     497                pjsip_auth_clt_deinit(&auth); 
    494498            } 
    495499        } 
Note: See TracChangeset for help on using the changeset viewer.