cpp: fixes windows compatibility

This commit is contained in:
frsyuki
2010-04-18 00:39:45 +09:00
parent 58854fdae9
commit 05b8c00ee7
7 changed files with 24 additions and 29 deletions

View File

@@ -216,7 +216,7 @@ bool msgpack_unpacker_init(msgpack_unpacker* mpac, size_t initial_buffer_size)
void msgpack_unpacker_destroy(msgpack_unpacker* mpac)
{
msgpack_zone_free(mpac->z);
template_destroy(mpac->ctx);
template_destroy(CTX_CAST(mpac->ctx));
free(mpac->ctx);
decl_count(mpac->buffer);
}