Changes to agl-compositor in the Marlin 13.0.0 tag break the
DRM lease support patch. Rebase the patch to the latest
mainline code.
Bug-AGL: SPEC-4322
Change-Id: Ib0e413e6aa8e9079a8a2ab8af1ec2691ec00308e
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
return ret;
}
-@@ -1768,6 +1774,7 @@ int wet_main(int argc, char *argv[])
- wl_display_destroy_clients(display);
+@@ -1773,6 +1779,7 @@ error_compositor:
+ free(modules);
+ modules = NULL;
- error_compositor:
+ release_drm_lease(ivi.drm_lease);
weston_compositor_tear_down(ivi.compositor);