1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 18:58:48 -04:00

Merge pull request #164 from jigpu/memleak-fixes

Memleak fixes
This commit is contained in:
f4exb
2018-04-22 07:40:58 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -119,6 +119,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
MainWindow w(logger, parser);
w.show();
QObject::connect(&a, SIGNAL(aboutToQuit()), &w, SLOT(on_action_Exit_triggered()));
return a.exec();
}
@@ -388,6 +388,7 @@ BFMDemodGUI::~BFMDemodGUI()
{
m_deviceUISet->removeRxChannelInstance(this);
delete m_bfmDemod; // TODO: check this: when the GUI closes it has to delete the demodulator
delete m_spectrumVis;
delete ui;
}