mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
sixel: verify-no-overlap: free pixman regions
This commit is contained in:
parent
e8f703eb65
commit
29d0068462
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);
|
||||
|
||||
assert(!pixman_region32_not_empty(&intersection));
|
||||
|
||||
pixman_region32_fini(&intersection);
|
||||
pixman_region32_fini(&rect2);
|
||||
}
|
||||
|
||||
pixman_region32_fini(&rect1);
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue