st/gui: Fix build without OpenCV

This commit is contained in:
Ryan Pavlik 2020-04-28 10:46:52 -05:00 committed by Jakob Bornecrantz
parent b2c987945e
commit 4fc8d3dbea

View file

@ -391,10 +391,10 @@ scene_destroy(struct gui_scene *scene, struct gui_program *p)
free(cs->settings);
cs->settings = NULL;
}
#ifdef XRT_HAVE_OPENCV
// Free data, no longer needed.
t_stereo_camera_calibration_reference(&cs->status.stereo_data, NULL);
#endif
free(cs);
}