Added free() to destructor to avoid memory leak
Merge pull request #1 from jonathanchristison/master

Added free() to destructor to avoid memory leak