Files
sdrangel/plugins/channelrx
Robin Getz edd7092444 leansdr: fix pipewriter leaks in s2_deframer
Add a destructor to s2_deframer to release the pipewriter objects owned by
state_out and locktime_out.

opt_writer() allocates these pipewriters dynamically when the corresponding
output pipe is provided. Without a destructor, the objects were leaked when
s2_deframer was destroyed.

Coverity reported CTOR_DTOR_LEAK findings for state_out and locktime_out.
The existing leansdr code was reviewed and confirmed that other users of
opt_writer() explicitly delete the resulting pipewriters in their
destructors, so s2_deframer was missing the corresponding cleanup.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-08-09 19:45:52 -04:00
..
2026-05-04 06:00:17 +02:00
2026-07-31 19:11:52 +01:00
2026-08-04 02:11:20 +01:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-08-04 01:18:14 +01:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-08-04 02:06:51 +01:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00
2026-05-04 06:00:17 +02:00