Free drmDevice in get_egl_device_from_drm_fd()
This commit is contained in:
parent
5c17452ae0
commit
104060fec5
|
@ -440,6 +440,7 @@ static EGLDeviceEXT get_egl_device_from_drm_fd(struct wlr_egl *egl,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drmFreeDevice(&device);
|
||||||
free(devices);
|
free(devices);
|
||||||
|
|
||||||
return egl_device;
|
return egl_device;
|
||||||
|
|
Loading…
Reference in New Issue