• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/vaapi


Commit MetaInfo

Revisión6ff5f3488daa1bed1fa8acb75acbdf893b32f936 (tree)
Tiempo2017-06-20 10:13:18
AutorPhilipp Kerling <pkerling@casi...>
CommiterXiang, Haihao

Log Message

wayland: Cleanup wl_registry on terminate

Signed-off-by: Philipp Kerling <pkerling@casix.org>
Signed-off-by: Olivier Crete <olivier.crete@collabora.com>

Cambiar Resumen

Diferencia incremental

--- a/src/i965_output_wayland.c
+++ b/src/i965_output_wayland.c
@@ -445,6 +445,11 @@ i965_output_wayland_terminate(VADriverContextP ctx)
445445 wl_output->wl_drm = NULL;
446446 }
447447
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+
448453 if (wl_output->libegl_handle) {
449454 dso_close(wl_output->libegl_handle);
450455 wl_output->libegl_handle = NULL;