1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

FT8 demod: fixed MsgReportFT8Messages handling

This commit is contained in:
f4exb 2023-01-27 21:42:41 +01:00
parent 13acad76a8
commit cb548b7546

View File

@ -187,7 +187,7 @@ void FT8DemodWorker::processBuffer(int16_t *buffer, QDateTime periodTS)
m_baseFrequency / 1000000.0, ft8Callback.getReportMessage()->getFT8Messages().size());
if (m_reportingMessageQueue) {
m_reportingMessageQueue->push(ft8Callback.getReportMessage());
m_reportingMessageQueue->push(new MsgReportFT8Messages(*ft8Callback.getReportMessage()));
}
QList<ObjectPipe*> mapPipes;
@ -271,9 +271,7 @@ void FT8DemodWorker::processBuffer(int16_t *buffer, QDateTime periodTS)
}
}
if (!m_reportingMessageQueue) {
delete m_reportingMessageQueue;
}
delete ft8Callback.getReportMessage();
if (m_recordSamples)
{