1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-24 12:36:10 -04:00
Files
sdrangel/plugins
Robin Getz c88cc7236a freqscanner: simplify frequency list handling
SWGFreqScannerSettings is newly created without a frequency list, so
there is no need to check for or copy into an existing list. Transfer
the newly created frequency list directly to the settings object.

The previous copy path left the newly allocated QList unowned when an
existing frequency list was present. This leaked the list because the
assignment copied its contents rather than transferring ownership.

This also resolves that resource leak identified by Coverity.

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