[PATCH weston 14/14] compositor-rdp: Properly destroy the renderer and pixman image
Armin Krezović
krezovic.armin at gmail.com
Fri Sep 30 12:11:15 UTC 2016
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
---
libweston/compositor-rdp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c
index d385a31..223382c 100644
--- a/libweston/compositor-rdp.c
+++ b/libweston/compositor-rdp.c
@@ -542,6 +542,9 @@ rdp_output_disable(struct weston_output *base)
if (!output->base.enabled)
return 0;
+ pixman_image_unref(output->shadow_surface);
+ pixman_renderer_output_destroy(&output->base);
+
wl_event_source_remove(output->finish_frame_timer);
b->output = NULL;
--
2.10.0
More information about the wayland-devel
mailing list