소스 검색

Perform system allocator's mutex unlock anyways

Ioannis Koutras 12 년 전
부모
커밋
7396f063eb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/dmmlib.c

+ 1 - 0
src/dmmlib.c

@@ -143,6 +143,7 @@ void * malloc(size_t size) {
             pthread_mutex_unlock(&new_raw_block->mutex);
 #endif /* HAVE_LOCKS */
         }
+        pthread_mutex_unlock(&systemallocator.creation_mutex);
     }
     
     return ptr;