Browse Source

Perform system allocator's mutex unlock anyways

Ioannis Koutras 12 years ago
parent
commit
7396f063eb
1 changed files with 1 additions and 0 deletions
  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;