mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-15 18:20:12 +00:00
a/vive: Fix use after free
This commit is contained in:
parent
d9fe5eaf5d
commit
ba08985126
|
@ -383,7 +383,6 @@ _calculate_fov(struct vive_config *d)
|
|||
&d->distortion.fov[eye]); //
|
||||
if (!bret) {
|
||||
VIVE_ERROR(d, "Failed to compute the partial fields of view.");
|
||||
free(d);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue