diff --git a/plugins/channelrx/demodnfm/nfmdemod.cpp b/plugins/channelrx/demodnfm/nfmdemod.cpp index eaa51b01b..71712c40d 100644 --- a/plugins/channelrx/demodnfm/nfmdemod.cpp +++ b/plugins/channelrx/demodnfm/nfmdemod.cpp @@ -501,7 +501,7 @@ int NFMDemod::webapiSettingsPutPatch( QString& errorMessage __attribute__((unused))) { NFMDemodSettings settings = m_settings; - bool frequencyOffsetChanged; + bool frequencyOffsetChanged = false; if (channelSettingsKeys.contains("afBandwidth")) { settings.m_afBandwidth = response.getNfmDemodSettings()->getAfBandwidth(); diff --git a/plugins/samplesink/limesdroutput/limesdroutput.cpp b/plugins/samplesink/limesdroutput/limesdroutput.cpp index f7fae80df..eb03d9eba 100644 --- a/plugins/samplesink/limesdroutput/limesdroutput.cpp +++ b/plugins/samplesink/limesdroutput/limesdroutput.cpp @@ -119,6 +119,7 @@ bool LimeSDROutput::openDevice() if (buddyShared->m_channel == requestedChannel) { qCritical("LimeSDROutput::openDevice: cannot open busy channel %u", requestedChannel); + delete[] busyChannels; return false; } } diff --git a/plugins/samplesource/limesdrinput/limesdrinput.cpp b/plugins/samplesource/limesdrinput/limesdrinput.cpp index bb70fb895..422ecc2d0 100644 --- a/plugins/samplesource/limesdrinput/limesdrinput.cpp +++ b/plugins/samplesource/limesdrinput/limesdrinput.cpp @@ -137,6 +137,7 @@ bool LimeSDRInput::openDevice() if (buddyShared->m_channel == requestedChannel) { qCritical("LimeSDRInput::openDevice: cannot open busy channel %u", requestedChannel); + delete[] busyChannels; return false; } }