mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-12 05:34:01 -04:00
sixel: verify-no-overlap: free pixman regions
This commit is contained in:
parent
2f5df30ef5
commit
8129ff69c9
1 changed files with 5 additions and 0 deletions
5
sixel.c
5
sixel.c
|
|
@ -192,7 +192,12 @@ verify_no_overlap(const struct terminal *term)
|
||||||
pixman_region32_intersect(&intersection, &rect1, &rect2);
|
pixman_region32_intersect(&intersection, &rect1, &rect2);
|
||||||
|
|
||||||
assert(!pixman_region32_not_empty(&intersection));
|
assert(!pixman_region32_not_empty(&intersection));
|
||||||
|
|
||||||
|
pixman_region32_fini(&intersection);
|
||||||
|
pixman_region32_fini(&rect2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pixman_region32_fini(&rect1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue