mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 09:58:32 +00:00
d/vive: Use u_device_free to free distortion mesh data
This commit is contained in:
parent
df484c508d
commit
601a6832b8
|
@ -79,8 +79,7 @@ vive_device_destroy(struct xrt_device *xdev)
|
||||||
// Remove the variable tracking.
|
// Remove the variable tracking.
|
||||||
u_var_remove_root(d);
|
u_var_remove_root(d);
|
||||||
|
|
||||||
|
u_device_free(&d->base);
|
||||||
free(d);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue