Ignore:
Timestamp:
Jan 21, 2007 4:23:56 PM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #68: pjsua account is not completely invalidated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r881 r892  
    361361 
    362362    /* Delete registration */ 
    363     if (pjsua_var.acc[acc_id].regc != NULL)  
     363    if (pjsua_var.acc[acc_id].regc != NULL) { 
    364364        pjsua_acc_set_registration(acc_id, PJ_FALSE); 
     365        pjsip_regc_destroy(pjsua_var.acc[acc_id].regc); 
     366        pjsua_var.acc[acc_id].regc = NULL; 
     367    } 
    365368 
    366369    /* Delete server presence subscription */ 
Note: See TracChangeset for help on using the changeset viewer.