Update allocator.c

aditional edits