aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-22 17:28:37 -0400
committerGitHub <noreply@github.com>2018-03-22 17:28:37 -0400
commit00bb9de29b154970ac76646d2e8db5fc2eda37f9 (patch)
tree90134db94aa17a09335465451c145c9b28be9dd0 /rootston
parentff2e08aa7481517d0bd4379ff0d0b51098f72064 (diff)
parente86cd4dc33e495c2e5cacd319ba75984ea19a868 (diff)
Merge pull request #727 from martinetd/x11_wl_backend_fixes
Address sanitizer fixes
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 4146e3e2..22c0d7ed 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -680,6 +680,7 @@ static void damage_from_surface(struct wlr_surface *surface,
}
pixman_region32_translate(&damage, box.x, box.y);
wlr_output_damage_add(output->damage, &damage);
+ pixman_region32_fini(&damage);
} else {
pixman_box32_t *extents =
pixman_region32_extents(&surface->current->surface_damage);