malloc and free
Merge pull request #1 from rail44/wip

malloc and free