Free drmDevice in get_egl_device_from_drm_fd()

master
Dean 3 years ago
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…
Cancel
Save