mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 01:18:31 +00:00
d/steamvr_lh: Fix double free in builder
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2387>
This commit is contained in:
parent
5a277c8e46
commit
a8ac453e20
|
@ -132,7 +132,6 @@ steamvr_open_system(struct xrt_builder *xb,
|
|||
|
||||
if (result != XRT_SUCCESS) {
|
||||
SVR_ERROR("Unable to create devices");
|
||||
steamvr_destroy(xb);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -141,7 +140,6 @@ steamvr_open_system(struct xrt_builder *xb,
|
|||
|
||||
if (xsysd->static_roles.head == NULL) {
|
||||
SVR_ERROR("Unable to find HMD");
|
||||
steamvr_destroy(xb);
|
||||
return XRT_ERROR_DEVICE_CREATION_FAILED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue