aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sixel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sixel.c b/sixel.c
index 0d69e658..bea90414 100644
--- a/sixel.c
+++ b/sixel.c
@@ -188,6 +188,7 @@ verify_no_overlap(const struct terminal *term)
six2->pos.row, six2->cols, six2->rows);
pixman_region32_t intersection;
+ pixman_region32_init(&intersection);
pixman_region32_intersect(&intersection, &rect1, &rect2);
assert(!pixman_region32_not_empty(&intersection));