From fd94bf0fd06560982decbb2c016973454ae55078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 21 Jun 2011 15:33:18 -0400 Subject: [PATCH] compositor: Fix region leak --- compositor/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compositor/compositor.c b/compositor/compositor.c index dc71f531..781bb86f 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -1650,6 +1650,7 @@ WL_EXPORT void wlsc_output_destroy(struct wlsc_output *output) { pixman_region32_fini(&output->region); + pixman_region32_fini(&output->previous_damage_region); destroy_surface(&output->background->surface.resource, NULL); }