From 8129ff69c9d73ada39d6579ec740aff86601c8d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 4 Oct 2020 13:32:53 +0200 Subject: [PATCH] sixel: verify-no-overlap: free pixman regions --- sixel.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sixel.c b/sixel.c index bea90414..54eea50c 100644 --- a/sixel.c +++ b/sixel.c @@ -192,7 +192,12 @@ verify_no_overlap(const struct terminal *term) pixman_region32_intersect(&intersection, &rect1, &rect2); assert(!pixman_region32_not_empty(&intersection)); + + pixman_region32_fini(&intersection); + pixman_region32_fini(&rect2); } + + pixman_region32_fini(&rect1); } #endif return true;