aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sixel.c5
1 files changed, 5 insertions, 0 deletions
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;