Fixed an error: use of undeclared identifier 'malloc'; did you mean 'valloc'?
Merge pull request #3 from priteshshah1983/master

Fixed undeclared malloc