Changeset 1095

Show
Ignore:
Timestamp:
05/02/08 14:32:04 (16 years ago)
Author:
ppalmers
Message:

fixes #99. for real this time (committed wrong file)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libutil/PosixMutex.cpp

    r1078 r1095  
    4747{ 
    4848    pthread_mutexattr_t attr; 
     49    pthread_mutexattr_init(&attr); 
    4950    #ifdef DEBUG 
    5051        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK); 
     
    5354    #endif 
    5455    pthread_mutex_init(&m_mutex, &attr); 
     56    pthread_mutexattr_destroy(&attr); 
    5557 
    5658    #if DEBUG_LOCK_COLLISION_TRACING