summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-09-18 19:03:08 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-09-19 10:57:47 +0200
commite1f1f22b66350dff529d72270b9e0f7067488584 (patch)
treefa8cb963384526f5ce8568fe153ccc079b6411f0
parenta01bf8d93c2289c50fa4f24c15f6255e942ee82b (diff)
qeditor: avoid memory leak in RegTab
Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a Reviewed-on: http://gerrit.rockbox.org/975 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--utils/regtools/qeditor/regtab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/regtools/qeditor/regtab.cpp b/utils/regtools/qeditor/regtab.cpp
index 4c78c9e8b0..b3f88321fb 100644
--- a/utils/regtools/qeditor/regtab.cpp
+++ b/utils/regtools/qeditor/regtab.cpp
@@ -138,7 +138,7 @@ RegTab::RegTab(Backend *backend, QWidget *parent)
this->addWidget(w);
this->setStretchFactor(1, 2);
- m_io_backend = m_backend->CreateDummyIoBackend();
+ m_io_backend = m_backend_selector->GetBackend();
connect(m_soc_selector, SIGNAL(currentIndexChanged(int)),
this, SLOT(OnSocChanged(int)));