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-11 17:25:43 +0000 |
| commit | 29d00684627640e4fa908964a2ea04af0707bc58 (patch) | |
| tree | 61e881dff92a02b078b0ea224f058c9437c90e0c | |
| 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; |
