|
@@ -69,6 +69,7 @@ void *sys_alloc(allocator_t *allocator, heap_t *heap, size_t size) {
|
|
allocator->remaining_size -= allocation_size;
|
|
allocator->remaining_size -= allocation_size;
|
|
} else {
|
|
} else {
|
|
printf("No more free space.\n");
|
|
printf("No more free space.\n");
|
|
|
|
+ print_stats(allocator);
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
#endif /* WITH_MEMORY_SPACE_AWARENESS */
|
|
#endif /* WITH_MEMORY_SPACE_AWARENESS */
|