1
0
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:
f4exb
2018-11-18 09:39:22 +01:00
parent bc50bf9afa
commit 059228e39f
12 changed files with 48 additions and 26 deletions
@@ -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
{