From d64e22c270d23a6a3109a49e03cf73cab1d2b2ca Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 26 Jan 2026 00:10:46 +0100 Subject: [PATCH] Fix leak in actionstest --- autotests/actionstest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/actionstest.cpp b/autotests/actionstest.cpp index 0ab7709b5..2273d6e47 100644 --- a/autotests/actionstest.cpp +++ b/autotests/actionstest.cpp @@ -88,7 +88,7 @@ void ActionsTest::testActions() QFETCH(std::optional, resultText); QFETCH(std::optional, type); - auto cache = new ChatBarCache(); + auto cache = new ChatBarCache(this); cache->setText(command); auto result = ActionsModel::handleAction(room, cache); QCOMPARE(resultText, std::get>(result));