mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-15 02:00:22 +00:00
d/wmr: Fix null dereference
This commit is contained in:
parent
3ecee6d0ca
commit
3a11afa846
|
@ -317,7 +317,7 @@ wmr_source_create(struct xrt_frame_context *xfctx, struct xrt_prober_device *dev
|
|||
|
||||
struct wmr_camera_open_config options = {
|
||||
.dev_holo = dev_holo,
|
||||
.tcam_confs = ws->config.tcams,
|
||||
.tcam_confs = cfg.tcams,
|
||||
.tcam_sinks = ws->in_sinks.cams,
|
||||
.tcam_count = cfg.tcam_count,
|
||||
.slam_cam_count = cfg.slam_cam_count,
|
||||
|
|
Loading…
Reference in a new issue