Test: Avoid leaking widget tree in WindowDescTestsFixture

This commit is contained in:
Jonathan G Rennison
2023-12-26 21:00:13 +00:00
parent 0a6639bd4b
commit 43936575e6

View File

@@ -98,4 +98,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;
}