mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
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:
parent
7b3a2e7c1a
commit
a0021dc7d0
|
@ -165,6 +165,8 @@ euroc_recorder_receive_frame(euroc_recorder *er, struct xrt_frame *src_frame, bo
|
|||
u_frame_clone(src_frame, ©);
|
||||
|
||||
xrt_sink_push_frame(is_left ? er->writer_queues.left : er->writer_queues.right, copy);
|
||||
|
||||
xrt_frame_reference(©, NULL);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
|
|
Loading…
Reference in a new issue