summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pixman-renderer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c
index a816d02e..4fdcb051 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;