mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
PVS-Studio analys fixes: core package serious issues
This commit is contained in:
@@ -43,6 +43,7 @@ MESSAGE_CLASS_DEFINITION(LocalInput::MsgReportSampleRateAndFrequency, Message)
|
||||
LocalInput::LocalInput(DeviceAPI *deviceAPI) :
|
||||
m_deviceAPI(deviceAPI),
|
||||
m_settings(),
|
||||
m_centerFrequency(0),
|
||||
m_deviceDescription("LocalInput")
|
||||
{
|
||||
m_sampleFifo.setSize(96000 * 4);
|
||||
@@ -457,6 +458,8 @@ void LocalInput::webapiReverseSendStartStop(bool start)
|
||||
} else {
|
||||
m_networkManager->sendCustomRequest(m_networkRequest, "DELETE", buffer);
|
||||
}
|
||||
|
||||
delete swgDeviceSettings;
|
||||
}
|
||||
|
||||
void LocalInput::networkManagerFinished(QNetworkReply *reply)
|
||||
|
||||
Reference in New Issue
Block a user