Fixed some memory leaks
Merge branch 'master' of github.com:flowlo/pcp-vns