aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-24 12:17:35 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-11-24 12:17:39 +0100
commitdb5e22e0537ae262270660201519c5c20f30951a (patch)
tree4c6140c0448ab95f50041655d272591875337d54 /src/qt/overviewpage.h
parent93566e0c37c5ae104095474fea89f00dcb40f551 (diff)
parented998ea7a0ecf294211b06e9ef82f1548a621a1d (diff)
Merge #9190: qt: Plug many memory leaks
ed998ea qt: Avoid OpenSSL certstore-related memory leak (Wladimir J. van der Laan) 5204598 qt: Avoid shutdownwindow-related memory leak (Wladimir J. van der Laan) e4f126a qt: Avoid splash-screen related memory leak (Wladimir J. van der Laan) 693384e qt: Prevent thread/memory leak on exiting RPCConsole (Wladimir J. van der Laan) 47db075 qt: Plug many memory leaks (Wladimir J. van der Laan)
Diffstat (limited to 'src/qt/overviewpage.h')
-rw-r--r--src/qt/overviewpage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h
index 65cd3341b6..ffe0de328c 100644
--- a/src/qt/overviewpage.h
+++ b/src/qt/overviewpage.h
@@ -8,6 +8,7 @@
#include "amount.h"
#include <QWidget>
+#include <memory>
class ClientModel;
class TransactionFilterProxy;
@@ -56,7 +57,7 @@ private:
CAmount currentWatchImmatureBalance;
TxViewDelegate *txdelegate;
- TransactionFilterProxy *filter;
+ std::unique_ptr<TransactionFilterProxy> filter;
private Q_SLOTS:
void updateDisplayUnit();