delete dynamically allocated buffer
parent
ae9fa1a9e3
commit
4525c4cbac
|
@ -122,6 +122,8 @@ TEST_CASE("Buffer is a Stream","[Buffer][Stream]")
|
|||
|
||||
buffer->write("Foo");
|
||||
|
||||
delete buffer;
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("Test clear","[Buffer]")
|
||||
|
|
Loading…
Reference in New Issue