hardware/intel/common/libva
Revision | e50d1074997c3acfc26cb2d3382ec659988f51f4 (tree) |
---|---|
Time | 2017-06-15 17:25:39 |
Author | Philipp Kerling <pkerling@casi...> |
Commiter | Xiang, Haihao |
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>
@@ -145,6 +145,11 @@ va_wayland_drm_destroy(VADisplayContextP pDisplayContext) | ||
145 | 145 | } |
146 | 146 | wl_drm_ctx->is_authenticated = 0; |
147 | 147 | |
148 | + if (wl_drm_ctx->registry) { | |
149 | + wl_registry_destroy(wl_drm_ctx->registry); | |
150 | + wl_drm_ctx->registry = NULL; | |
151 | + } | |
152 | + | |
148 | 153 | if (wl_drm_ctx->handle) { |
149 | 154 | dlclose(wl_drm_ctx->handle); |
150 | 155 | wl_drm_ctx->handle = NULL; |