Merge pull request #149 from jemc/master

Problem: zproto_codec selftest doesn't free the object