Fixed the free and delete mismatch problem.

https://github.com/msgpack/msgpack-c/issues/52