From ebb4ffe36df3dede78a9673f41a602ab50f5280d Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 22 Aug 2020 22:35:07 +0200 Subject: [PATCH] fixed SearchWindow memory leak (#1899) --- src/widgets/splits/Split.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index 9704c283c..e90c3eab5 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -730,6 +730,7 @@ void Split::showSearch() { SearchPopup *popup = new SearchPopup(); + popup->setAttribute(Qt::WA_DeleteOnClose); popup->setChannel(this->getChannel()); popup->show(); }