fix valgrind test

main
Igor Canadi 11 years ago
parent 558050939f
commit 583feae8dd
  1. 1
      utilities/document/json_document_test.cc

@ -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(

Loading…
Cancel
Save