Changeset - r28337:0e6bc35f4835
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 11 months ago 2023-12-26 21:00:13
j.g.rennison@gmail.com
Fix: Memory leak in WindowDescTestsFixture
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/tests/test_window_desc.cpp
Show inline comments
 
@@ -92,7 +92,8 @@ TEST_CASE_METHOD(WindowDescTestsFixture,
 
	int biggest_index = -1;
 
	NWidgetStacked *shade_select = nullptr;
 
	NWidgetBase *root = nullptr;
 

	
 
	REQUIRE_NOTHROW(root = MakeWindowNWidgetTree(window_desc->nwid_begin, window_desc->nwid_end, &biggest_index, &shade_select));
 
	CHECK((root != nullptr));
 
	delete root;
 
}
0 comments (0 inline, 0 general)