mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
reader unit test: plug memory leak
This commit is contained in:
parent
919c6db9fb
commit
f5c99c0cb4
@ -34,6 +34,7 @@ TEST_CASE("Readers") {
|
||||
char* contents = nullptr;
|
||||
ncreader_destroy(nr, &contents);
|
||||
REQUIRE(contents);
|
||||
free(contents);
|
||||
CHECK(0 == notcurses_render(nc_));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user