Fixed memory leak in append
Merge branch 'dev' of https://github.com/BanTheRewind/Cinder-Protocol into dev