From b8bad8412fb81519640e670f67c610f530011c78 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 9 Feb 2014 02:17:14 +0100 Subject: regtools/qeditor: clean-up Free the backend when closing a tab to release some memory. Implement about dialogs. Change-Id: Ic8c500a23d38e6c3dd4de6a4ba862012925968be --- utils/regtools/qeditor/regtab.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/regtools/qeditor/regtab.cpp') diff --git a/utils/regtools/qeditor/regtab.cpp b/utils/regtools/qeditor/regtab.cpp index 1e9846ef33..8403a19ea1 100644 --- a/utils/regtools/qeditor/regtab.cpp +++ b/utils/regtools/qeditor/regtab.cpp @@ -204,6 +204,11 @@ RegTab::RegTab(Backend *backend) OnDataSelChanged(DataSelNothing); } +RegTab::~RegTab() +{ + delete m_io_backend; +} + void RegTab::SetDataSocName(const QString& socname) { if(socname.size() != 0) -- cgit v1.2.3