mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
PVS-Studio Analysis corrections for serious issues
This commit is contained in:
@@ -303,6 +303,10 @@ bool BladeRF2Output::start()
|
||||
m_deviceShared.m_dev->closeTx(i);
|
||||
}
|
||||
|
||||
// was used as temporary storage:
|
||||
delete[] fifos;
|
||||
delete[] log2Interps;
|
||||
|
||||
needsStart = true;
|
||||
}
|
||||
else
|
||||
@@ -450,6 +454,10 @@ void BladeRF2Output::stop()
|
||||
|
||||
bladeRF2OutputThread->startWork();
|
||||
}
|
||||
|
||||
// was used as temporary storage:
|
||||
delete[] fifos;
|
||||
delete[] log2Interps;
|
||||
}
|
||||
else // remove channel from existing thread
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user