fix valgrind test

This commit is contained in:
Igor Canadi 2014-06-20 15:22:11 +02:00
parent 558050939f
commit 583feae8dd

View File

@ -132,6 +132,7 @@ TEST(JSONDocumentTest, Serialization) {
auto deserialized_json = JSONDocument::Deserialize(Slice(serialized));
ASSERT_TRUE(deserialized_json != nullptr);
AssertSampleJSON(*deserialized_json);
delete deserialized_json;
// deserialization failure
ASSERT_TRUE(JSONDocument::Deserialize(