Update alloc.c
Merge pull request #1 from alynchos/patch-1

Update alloc.c