Fix 'depreciated' typo in Makefile.vc
Merge pull request #37 from twostars/master

Fix 'depreciated' typo in Makefile.vc
Free resources to be consistent.

Free the resources to silence coverity.
Make sure our read buffer is always terminated