mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
PVS-Studio Analysis corrections for serious issues
This commit is contained in:
@@ -329,6 +329,11 @@ bool BladeRF2Input::start()
|
||||
((DeviceBladeRF2Shared*) (*it)->getBuddySharedPtr())->m_source->setThread(0);
|
||||
}
|
||||
|
||||
// was used as temporary storage:
|
||||
delete[] fifos;
|
||||
delete[] log2Decims;
|
||||
delete[] fcPoss;
|
||||
|
||||
needsStart = true;
|
||||
}
|
||||
else
|
||||
@@ -470,6 +475,11 @@ void BladeRF2Input::stop()
|
||||
if (stillActiveFIFO) {
|
||||
bladerf2InputThread->startWork();
|
||||
}
|
||||
|
||||
// was used as temporary storage:
|
||||
delete[] fifos;
|
||||
delete[] log2Decims;
|
||||
delete[] fcPoss;
|
||||
}
|
||||
else // remove channel from existing thread
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user