ソースを参照

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;