mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 20:05:29 +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.
|
||||
u_var_remove_root(d);
|
||||
|
||||
|
||||
free(d);
|
||||
u_device_free(&d->base);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue