1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

Fix: Memory leak in WindowDescTestsFixture

This commit is contained in:
Jonathan G Rennison
2023-12-26 21:00:13 +00:00
parent e0c670cbe8
commit 1c658e746a

View File

@@ -95,4 +95,5 @@ TEST_CASE_METHOD(WindowDescTestsFixture, "WindowDesc - NWidgetPart validity")
REQUIRE_NOTHROW(root = MakeWindowNWidgetTree(window_desc->nwid_begin, window_desc->nwid_end, &biggest_index, &shade_select));
CHECK((root != nullptr));
delete root;
}