diff options
-rw-r--r-- | entityx/help/Pool_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/entityx/help/Pool_test.cc b/entityx/help/Pool_test.cc index 56ca85a..631ccec 100644 --- a/entityx/help/Pool_test.cc +++ b/entityx/help/Pool_test.cc @@ -64,6 +64,8 @@ TEST_CASE("TestPoolPointers") { REQUIRE(extrapolated_p16 != static_cast<void*>(p16)); void *extrapolated_p24 = p16 + 8 * sizeof(Position); REQUIRE(extrapolated_p24 != static_cast<void*>(p24)); + + for (auto ptr : ptrs) delete[] ptr; } TEST_CASE("TestDeconstruct") { |