bb55d86300
When EGL initialization fails (failure to create a GLES3 or GLES2 context) we will end up calling gbm_device_destroy() twice, once in init_egl() and once in the drm_backend_create() error path. Given that we should also take care of properly destroying the gbm device when we don't have any inputs for instance, mark the gbm device as NULL to avoid calling gbm_device_destroy() once more when destroying the DRM-backend. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> |
||
---|---|---|
.. | ||
drm-gbm.c | ||
drm-internal.h | ||
drm-virtual.c | ||
drm.c | ||
fb.c | ||
kms.c | ||
libbacklight.c | ||
libbacklight.h | ||
meson.build | ||
modes.c | ||
state-helpers.c | ||
state-propose.c | ||
vaapi-recorder.c | ||
vaapi-recorder.h |