Update allocator.c

Fixes to Sal_End