reader unit test: plug memory leak

This commit is contained in:
nick black 2021-11-24 00:07:51 -05:00
parent 919c6db9fb
commit f5c99c0cb4

View File

@ -34,6 +34,7 @@ TEST_CASE("Readers") {
char* contents = nullptr;
ncreader_destroy(nr, &contents);
REQUIRE(contents);
free(contents);
CHECK(0 == notcurses_render(nc_));
}