Skip to content

Commit 583feae

Browse files
committed
fix valgrind test
1 parent 5580509 commit 583feae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utilities/document/json_document_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ TEST(JSONDocumentTest, Serialization) {
132132
auto deserialized_json = JSONDocument::Deserialize(Slice(serialized));
133133
ASSERT_TRUE(deserialized_json != nullptr);
134134
AssertSampleJSON(*deserialized_json);
135+
delete deserialized_json;
135136

136137
// deserialization failure
137138
ASSERT_TRUE(JSONDocument::Deserialize(

0 commit comments

Comments
 (0)