Fixed memory freeing issue during main encoding/decoding finish
Merge branch 'master' into argonaut-kernel