Update allocator.c

additional edits