mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-26 12:04:13 -04:00
SoapySDR: fixed memory leaks
This commit is contained in:
@@ -482,6 +482,9 @@ bool SoapySDROutput::start()
|
||||
((DeviceSoapySDRShared*) (*it)->getBuddySharedPtr())->m_sink->setThread(0);
|
||||
}
|
||||
|
||||
delete[] log2Interps;
|
||||
delete[] fifos;
|
||||
|
||||
needsStart = true;
|
||||
}
|
||||
else
|
||||
@@ -609,6 +612,9 @@ void SoapySDROutput::stop()
|
||||
qDebug("SoapySDROutput::stop: restarting the thread");
|
||||
soapySDROutputThread->startWork();
|
||||
}
|
||||
|
||||
delete[] log2Interps;
|
||||
delete[] fifos;
|
||||
}
|
||||
else // remove channel from existing thread
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
const PluginDescriptor SoapySDROutputPlugin::m_pluginDescriptor = {
|
||||
QString("SoapySDR Output"),
|
||||
QString("4.3.1"),
|
||||
QString("4.3.2"),
|
||||
QString("(c) Edouard Griffiths, F4EXB"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
||||
Reference in New Issue
Block a user