Explorar o código

release the memory of a big raw block to the system on free()

Ioannis Koutras %!s(int64=12) %!d(string=hai) anos
pai
achega
bf3d27b04c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/free.c

+ 1 - 1
src/free.c

@@ -86,6 +86,6 @@ void free(void *ptr) {
         UNLOCK_GLOBAL();
 #endif /* WITH_ALLOCATOR_STATS */
 
-        /* release_memory(owner_raw_block); */
+        release_memory(owner_raw_block);
     }
 }