OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7633739
)
wayland: Cleanup wl_registry on terminate
author
Philipp Kerling
<pkerling@casix.org>
Tue, 13 Jun 2017 11:38:20 +0000
(13:38 +0200)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 20 Jun 2017 01:13:18 +0000
(09:13 +0800)
Signed-off-by: Philipp Kerling <pkerling@casix.org>
Signed-off-by: Olivier Crete <olivier.crete@collabora.com>
src/i965_output_wayland.c
patch
|
blob
|
history
diff --git
a/src/i965_output_wayland.c
b/src/i965_output_wayland.c
index
0cd37c3
..
7e21e96
100644
(file)
--- a/
src/i965_output_wayland.c
+++ b/
src/i965_output_wayland.c
@@
-445,6
+445,11
@@
i965_output_wayland_terminate(VADriverContextP ctx)
wl_output->wl_drm = NULL;
}
+ if (wl_output->wl_registry) {
+ wl_output->vtable.proxy_destroy((struct wl_proxy *)wl_output->wl_registry);
+ wl_output->wl_registry = NULL;
+ }
+
if (wl_output->libegl_handle) {
dso_close(wl_output->libegl_handle);
wl_output->libegl_handle = NULL;