Changeset 4454 for pjproject


Ignore:
Timestamp:
Mar 29, 2013 4:55:43 AM (11 years ago)
Author:
ming
Message:

Re #1630 (misc): Added missing destroy of mutexes. This may cause failure to recreate the mutexes in some platforms (such as BB10).

Location:
pjproject/trunk/pjsip/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r4295 r4454  
    15071507                  pj_atomic_get(mgr->tdata_counter))); 
    15081508    } 
     1509     
     1510    pj_atomic_destroy(mgr->tdata_counter); 
    15091511#endif 
    15101512 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r4370 r4454  
    16371637        pjsua_var.mutex = NULL; 
    16381638    } 
     1639     
     1640    if (pjsua_var.timer_mutex) { 
     1641        pj_mutex_destroy(pjsua_var.timer_mutex); 
     1642        pjsua_var.timer_mutex = NULL; 
     1643    } 
    16391644 
    16401645    /* Destroy pool and pool factory. */ 
Note: See TracChangeset for help on using the changeset viewer.