diff options
author | Simon Rettberg | 2018-09-04 14:20:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-09-04 14:20:27 +0200 |
commit | 248beb5e9166e721e9b2fcc923ea1cf4b4ba3a35 (patch) | |
tree | 2aa90cf870ba688cf30d7cdf0b5030890c398761 | |
parent | [client] Fix code style (diff) | |
download | pvs2-248beb5e9166e721e9b2fcc923ea1cf4b4ba3a35.tar.gz pvs2-248beb5e9166e721e9b2fcc923ea1cf4b4ba3a35.tar.xz pvs2-248beb5e9166e721e9b2fcc923ea1cf4b4ba3a35.zip |
[client] Fix memory leak
-rw-r--r-- | src/client/toolbar/toolbar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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() |