remove more alloca()'s
Merge pull request #1610 from WalterBright/refactor9

remove more alloca()'s