Commit f9743018 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz
Browse files

d/rs: Process frame does not take ownership of the frame

parent 42df1aab
......@@ -163,8 +163,6 @@ process_frame(struct rs_6dof *rs, rs2_frame *frame, struct xrt_pose *out_pose)
out_pose->position.x = camera_pose.translation.x;
out_pose->position.y = camera_pose.translation.y;
out_pose->position.z = camera_pose.translation.z;
rs2_release_frame(frame);
}
static int
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment