瀏覽代碼

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

Ioannis Koutras 12 年之前
父節點
當前提交
bf3d27b04c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
     }
 }