diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp index 08cf104..ef93479 100644 --- a/src/test_lib_json/main.cpp +++ b/src/test_lib_json/main.cpp @@ -2312,6 +2312,7 @@ JSONTEST_FIXTURE(CharReaderAllowSpecialFloatsTest, issue209) { JSONTEST_ASSERT_EQUAL(std::numeric_limits::infinity(), root["posInf"].asDouble()); JSONTEST_ASSERT_EQUAL(-std::numeric_limits::infinity(), root["NegInf"].asDouble()); } + delete reader; } struct BuilderTest : JsonTest::TestCase {};