Files
sdrangel/plugins
Robin Getz 4498bc62b2 udpsource: avoid leaking sample rate correction messages
Only allocate `MsgSampleRateCorrection` when a feedback message queue is
available.

The message was previously allocated before checking `m_autoRWBalance`
and `m_feedbackMessageQueue`. When either condition was false, the
message was never queued and its allocation was leaked.

Coverity CID 652413 reported a `RESOURCE_LEAK` after tracing the allocation
from `MsgSampleRateCorrection::create()` to the point where the local pointer
went out of scope without being transferred to the feedback queue.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-09 18:22:34 -04:00
..
2026-05-04 06:00:17 +02:00