Fixed a few memory leaks caught by valgrind tool.
This commit is contained in:
parent
1a8369f1b3
commit
d84e4c3663
|
@ -401,7 +401,6 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
|||
bpFrame = new QGroupBox(tr("Breakpoints"));
|
||||
vbox3 = new QVBoxLayout();
|
||||
vbox = new QVBoxLayout();
|
||||
hbox = new QHBoxLayout();
|
||||
bpTree = new QTreeWidget();
|
||||
|
||||
bpTree->setColumnCount(2);
|
||||
|
@ -428,8 +427,6 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
|||
connect( bpTree, SIGNAL(itemClicked(QTreeWidgetItem*, int)),
|
||||
this, SLOT(bpItemClicked( QTreeWidgetItem*, int)) );
|
||||
|
||||
hbox->addWidget( bpTree );
|
||||
|
||||
hbox = new QHBoxLayout();
|
||||
button = new QPushButton( tr("Add") );
|
||||
hbox->addWidget( button );
|
||||
|
@ -3033,6 +3030,8 @@ QAsmView::QAsmView(QWidget *parent)
|
|||
lineOffset = 0;
|
||||
maxLineOffset = 0;
|
||||
ctxMenuAddr = -1;
|
||||
cursorPosX = 0;
|
||||
cursorPosY = 0;
|
||||
|
||||
mouseLeftBtnDown = false;
|
||||
txtHlgtAnchorLine = -1;
|
||||
|
|
|
@ -391,7 +391,7 @@ GamePadConfDialog_t::GamePadConfDialog_t(QWidget *parent)
|
|||
advOptLayout = new QGroupBox( tr("Advanced Key Bindings") );
|
||||
advOptLayout->setMaximumWidth(0);
|
||||
|
||||
advOptWidthAnimation = new QPropertyAnimation( advOptLayout, "maximumWidth");
|
||||
advOptWidthAnimation = new QPropertyAnimation( advOptLayout, "maximumWidth", this);
|
||||
advOptWidthAnimation->setDuration(500);
|
||||
advOptWidthAnimation->setStartValue(0);
|
||||
advOptWidthAnimation->setEndValue(512);
|
||||
|
|
|
@ -889,6 +889,7 @@ ppuNameTableView_t::ppuNameTableView_t(QWidget *parent)
|
|||
selTable = 0;
|
||||
scrollArea = NULL;
|
||||
hover2Focus = false;
|
||||
ensureVis = false;
|
||||
ppuAddr = 0x2000;
|
||||
palAddr = 0x3F00;
|
||||
atrbAddr = 0x3F00;
|
||||
|
|
|
@ -140,7 +140,6 @@ ppuViewerDialog_t::ppuViewerDialog_t(QWidget *parent)
|
|||
|
||||
setLayout( mainLayout );
|
||||
|
||||
vbox = new QVBoxLayout();
|
||||
hbox = new QHBoxLayout();
|
||||
grid = new QGridLayout;
|
||||
patternVbox[0] = new QVBoxLayout();
|
||||
|
|
Loading…
Reference in New Issue