Skip to content

Commit 88356b7

Browse files
committed
Fixed malloc delete unmatch bug.
1 parent ce9e543 commit 88356b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/msgpack_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ TEST(MSGPACK, vrefbuffer_int64)
893893
obj.convert(&val); \
894894
EXPECT_EQ(*it, val); \
895895
++it; \
896-
delete life; \
896+
msgpack_zone_free(life); \
897897
} \
898898
p += sz; \
899899
} \

0 commit comments

Comments
 (0)