diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index dd1c8aa..3f805db 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -53,7 +53,7 @@ void *allocate(size_t size) { /* first check for a suitable memory block on the free list */ free_nd *nd = fl_find_first_fit(free_list, size); if (nd) { - void *return_region = fl_split_node(&free_list, nd, size); + return fl_split_node(&free_list, nd, size); } /* |