hardware/intel/common/vaapi
Revisión | 6ff5f3488daa1bed1fa8acb75acbdf893b32f936 (tree) |
---|---|
Tiempo | 2017-06-20 10:13:18 |
Autor | Philipp Kerling <pkerling@casi...> |
Commiter | Xiang, Haihao |
wayland: Cleanup wl_registry on terminate
Signed-off-by: Philipp Kerling <pkerling@casix.org>
Signed-off-by: Olivier Crete <olivier.crete@collabora.com>
@@ -445,6 +445,11 @@ i965_output_wayland_terminate(VADriverContextP ctx) | ||
445 | 445 | wl_output->wl_drm = NULL; |
446 | 446 | } |
447 | 447 | |
448 | + if (wl_output->wl_registry) { | |
449 | + wl_output->vtable.proxy_destroy((struct wl_proxy *)wl_output->wl_registry); | |
450 | + wl_output->wl_registry = NULL; | |
451 | + } | |
452 | + | |
448 | 453 | if (wl_output->libegl_handle) { |
449 | 454 | dso_close(wl_output->libegl_handle); |
450 | 455 | wl_output->libegl_handle = NULL; |