THRIFT-2275 Fix memory leak in golang compact_protocol.

Patch: bolin huang
1 file changed