Skip to content

Commit b7336f8

Browse files
committed
Merge pull request #27 from redboltz/malloc_free_match
Fixed malloc delete unmatch bug.
2 parents ce9e543 + 88356b7 commit b7336f8

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)