diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-04 11:32:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-09 05:44:16 +0000 |
| commit | 8129ff69c9d73ada39d6579ec740aff86601c8d2 (patch) | |
| tree | caf6fc5ce58d707d76c27aadf20eb43963093736 | |
| parent | sixel: verify-no-overlap: initialize ‘intersection’ pixman region (diff) | |
sixel: verify-no-overlap: free pixman regions
| -rw-r--r-- | sixel.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |
