[PATCH weston 10/10] pixman-renderer: free shadow buffer on renderer destruction
rawoul at gmail.com
rawoul at gmail.com
Mon Aug 25 11:56:52 PDT 2014
From: Arnaud Vrac <avrac at freebox.fr>
---
src/pixman-renderer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c
index a816d02..4fdcb05 100644
--- a/src/pixman-renderer.c
+++ b/src/pixman-renderer.c
@@ -786,6 +786,9 @@ pixman_renderer_output_destroy(struct weston_output *output)
if (po->hw_buffer)
pixman_image_unref(po->hw_buffer);
+ free(po->shadow_buffer);
+
+ po->shadow_buffer = NULL;
po->shadow_image = NULL;
po->hw_buffer = NULL;
--
1.9.1
More information about the wayland-devel
mailing list