Quellcode durchsuchen

Perform system allocator's mutex unlock anyways

Ioannis Koutras vor 13 Jahren
Ursprung
Commit
7396f063eb
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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;