diff --git a/src/tests/reader.cpp b/src/tests/reader.cpp index fdd6b53da..a80d7d9db 100644 --- a/src/tests/reader.cpp +++ b/src/tests/reader.cpp @@ -34,6 +34,7 @@ TEST_CASE("Readers") { char* contents = nullptr; ncreader_destroy(nr, &contents); REQUIRE(contents); + free(contents); CHECK(0 == notcurses_render(nc_)); }