1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

SoapySDR: fixed memory leaks

This commit is contained in:
f4exb
2018-12-04 01:03:21 +01:00
parent 4a69a7d39f
commit 13afa2e45f
8 changed files with 26 additions and 6 deletions
@@ -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
{