Browse Source

Merge pull request #164 from jigpu/memleak-fixes

Memleak fixes
chirpmodem-v8.0.0
f4exb 9 years ago committed by GitHub
parent
commit
a099b05fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/main.cpp
  2. 1
      plugins/channelrx/demodbfm/bfmdemodgui.cpp

1
app/main.cpp

@ -119,6 +119,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo @@ -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();
}

1
plugins/channelrx/demodbfm/bfmdemodgui.cpp

@ -388,6 +388,7 @@ BFMDemodGUI::~BFMDemodGUI() @@ -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;
}

Loading…
Cancel
Save