simple memory management
Merge branch 'master' of https://github.com/SandyZeng/Network