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

This commit is contained in:
Jakob Bornecrantz 2020-02-12 14:16:39 +00:00
parent 42df1aab20
commit f974301877

View file

@ -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