|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr) {
|
|
|
size_t size;
|
|
|
- int heap_id, fixed_list_id, i;
|
|
|
+ int fixed_list_id, i;
|
|
|
maptable_node_t *current_maptable_node;
|
|
|
#if defined (COALESCING_FIXED) || defined (COALESCING_VARIABLE)
|
|
|
bool coalesced;
|
|
@@ -37,6 +37,7 @@ void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr) {
|
|
|
#endif /* COALESCING_FIXED || COALESCING_VARIABLE */
|
|
|
|
|
|
#ifndef WITH_MEMORY_SPACE_AWARENESS
|
|
|
+ int heap_id;
|
|
|
/* Currently all the memory space aware allocators are pre-initialized */
|
|
|
if(allocator == NULL) {
|
|
|
allocator = &systemallocator;
|