Ignore:
Timestamp:
Dec 24, 2008 9:17:08 AM (16 years ago)
Author:
bennylp
Message:

Ticket #688: Memory leak on Solaris 10 with pjlib's mutex (thanks Andrey Kobtsev for the fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_unix.c

    r2394 r2395  
    10891089    } 
    10901090     
     1091    rc = pthread_mutexattr_destroy(&attr); 
     1092    if (rc != 0) { 
     1093        pj_status_t status = PJ_RETURN_OS_ERROR(rc); 
     1094        pthread_mutex_destroy(&mutex->mutex); 
     1095        return status; 
     1096    } 
     1097 
    10911098#if PJ_DEBUG 
    10921099    /* Set owner. */ 
Note: See TracChangeset for help on using the changeset viewer.