diff --git a/src/tests/test_window_desc.cpp b/src/tests/test_window_desc.cpp --- a/src/tests/test_window_desc.cpp +++ b/src/tests/test_window_desc.cpp @@ -95,4 +95,5 @@ TEST_CASE_METHOD(WindowDescTestsFixture, REQUIRE_NOTHROW(root = MakeWindowNWidgetTree(window_desc->nwid_begin, window_desc->nwid_end, &biggest_index, &shade_select)); CHECK((root != nullptr)); + delete root; }