compositor-rdp: Properly destroy the renderer and pixman image

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Armin Krezović <krezovic.armin@gmail.com>
dev
Armin Krezović 8 years ago committed by Pekka Paalanen
parent 927267b915
commit a483cac1af
  1. 3
      libweston/compositor-rdp.c

@ -542,6 +542,9 @@ rdp_output_disable(struct weston_output *base)
if (!output->base.enabled) if (!output->base.enabled)
return 0; return 0;
pixman_image_unref(output->shadow_surface);
pixman_renderer_output_destroy(&output->base);
wl_event_source_remove(output->finish_frame_timer); wl_event_source_remove(output->finish_frame_timer);
b->output = NULL; b->output = NULL;

Loading…
Cancel
Save