t/euroc: Fix memory leak in euroc recorder

This was the reason the recorder was eating so much RAM.
SSD write speeds should be enough for common use cases to keep RAM stable.
This commit is contained in:
Mateo de Mayo 2022-02-22 19:37:47 -03:00 committed by Jakob Bornecrantz
parent 7b3a2e7c1a
commit a0021dc7d0

View file

@ -165,6 +165,8 @@ euroc_recorder_receive_frame(euroc_recorder *er, struct xrt_frame *src_frame, bo
u_frame_clone(src_frame, &copy); u_frame_clone(src_frame, &copy);
xrt_sink_push_frame(is_left ? er->writer_queues.left : er->writer_queues.right, copy); xrt_sink_push_frame(is_left ? er->writer_queues.left : er->writer_queues.right, copy);
xrt_frame_reference(&copy, NULL);
} }
extern "C" void extern "C" void