• 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/libva


Commit MetaInfo

Revisione50d1074997c3acfc26cb2d3382ec659988f51f4 (tree)
Time2017-06-15 17:25:39
AuthorPhilipp Kerling <pkerling@casi...>
CommiterXiang, Haihao

Log Message

wayland: Cleanup wl_registry in va_wayland_drm_destroy

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

Change Summary

Incremental Difference

--- a/va/wayland/va_wayland_drm.c
+++ b/va/wayland/va_wayland_drm.c
@@ -145,6 +145,11 @@ va_wayland_drm_destroy(VADisplayContextP pDisplayContext)
145145 }
146146 wl_drm_ctx->is_authenticated = 0;
147147
148+ if (wl_drm_ctx->registry) {
149+ wl_registry_destroy(wl_drm_ctx->registry);
150+ wl_drm_ctx->registry = NULL;
151+ }
152+
148153 if (wl_drm_ctx->handle) {
149154 dlclose(wl_drm_ctx->handle);
150155 wl_drm_ctx->handle = NULL;