|
@@ -32,7 +32,7 @@ void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr) {
|
|
|
remove_block(ptr, heap->used_blocks_head);
|
|
|
|
|
|
#ifdef WITH_COALESCING
|
|
|
- ptr = coalesce(heap, ptr);
|
|
|
+ ptr = coalesce(ptr, heap);
|
|
|
#endif /* WITH_COALESCING */
|
|
|
|
|
|
// Check if the block could be put in a fixed list
|