From 248beb5e9166e721e9b2fcc923ea1cf4b4ba3a35 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 4 Sep 2018 14:20:27 +0200 Subject: [client] Fix memory leak --- src/client/toolbar/toolbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 0769f57..1640c01 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -500,6 +500,7 @@ void Toolbar::showInformationDialog() { InformationDialog* d = new InformationDialog(); d->exec(); + d->deleteLater(); } void Toolbar::onBtnAttention() -- cgit v1.2.3-55-g7522