mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-02 17:50:51 +02:00
Merge pull request #27 from redboltz/malloc_free_match
Fixed malloc delete unmatch bug.
This commit is contained in:
commit
b7336f817c
@ -893,7 +893,7 @@ TEST(MSGPACK, vrefbuffer_int64)
|
|||||||
obj.convert(&val); \
|
obj.convert(&val); \
|
||||||
EXPECT_EQ(*it, val); \
|
EXPECT_EQ(*it, val); \
|
||||||
++it; \
|
++it; \
|
||||||
delete life; \
|
msgpack_zone_free(life); \
|
||||||
} \
|
} \
|
||||||
p += sz; \
|
p += sz; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user