tweaks: use memory on the stack instead of calling malloc() and free()
2 files changed