pixman-renderer: free shadow buffer on renderer destruction

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Arnaud Vrac 10 years ago committed by Pekka Paalanen
parent fb754a0a05
commit 8e3fe08c42
  1. 3
      src/pixman-renderer.c

@ -786,6 +786,9 @@ pixman_renderer_output_destroy(struct weston_output *output)
if (po->hw_buffer) if (po->hw_buffer)
pixman_image_unref(po->hw_buffer); pixman_image_unref(po->hw_buffer);
free(po->shadow_buffer);
po->shadow_buffer = NULL;
po->shadow_image = NULL; po->shadow_image = NULL;
po->hw_buffer = NULL; po->hw_buffer = NULL;

Loading…
Cancel
Save