mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
Fix memory leak
This commit is contained in:
parent
e247fbb4fa
commit
df20f2d6a0
@ -203,12 +203,11 @@ void APRS::applySettings(const APRSSettings& settings, const QList<QString>& set
|
||||
stop();
|
||||
}
|
||||
|
||||
|
||||
APRSWorker::MsgConfigureAPRSWorker *msg = APRSWorker::MsgConfigureAPRSWorker::create(
|
||||
settings, settingsKeys, force
|
||||
);
|
||||
|
||||
if (m_worker) {
|
||||
if (m_worker)
|
||||
{
|
||||
APRSWorker::MsgConfigureAPRSWorker *msg = APRSWorker::MsgConfigureAPRSWorker::create(
|
||||
settings, settingsKeys, force
|
||||
);
|
||||
m_worker->getInputMessageQueue()->push(msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user