d/vive: Use u_device_free to free distortion mesh data

This commit is contained in:
Jakob Bornecrantz 2021-08-20 17:09:05 +01:00
parent df484c508d
commit 601a6832b8

View file

@ -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