From e1f1f22b66350dff529d72270b9e0f7067488584 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 18 Sep 2014 19:03:08 +0200 Subject: qeditor: avoid memory leak in RegTab Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a Reviewed-on: http://gerrit.rockbox.org/975 Reviewed-by: Amaury Pouly --- utils/regtools/qeditor/regtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); -- cgit v1.2.3