diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 8aab840c..837da8ce 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -1319,7 +1319,6 @@ create_output_for_connector(struct drm_compositor *ec, return 0; - eglDestroySurface(ec->base.display, output->egl_surface); err_surface: gbm_surface_destroy(output->surface); err_free: