Added msgpack_unpacked_destroy() call.
This commit is contained in:
Takatoshi Kondo
2021-04-24 15:25:37 +09:00
parent 08a42a347c
commit 4bc64de0ec
3 changed files with 4 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ void test()
while (msgpack_unpack_next(&msg, buf.data, buf.size, &upk_pos) == MSGPACK_UNPACK_SUCCESS) {
}
msgpack_unpacked_destroy(&msg);
msgpack_sbuffer_destroy(&buf);
}