display: Clean up transformed damage region

This fixes a memory leak
abstract-encoders
Andri Yngvason 2021-12-11 20:58:14 +00:00
parent 783ac9d99d
commit 66942ab913
1 changed files with 1 additions and 0 deletions

View File

@ -122,5 +122,6 @@ void nvnc_display_feed_buffer(struct nvnc_display* self, struct nvnc_fb* fb,
resampler_feed(self->resampler, fb, &transformed_damage, resampler_feed(self->resampler, fb, &transformed_damage,
nvnc_display__on_resampler_done, self); nvnc_display__on_resampler_done, self);
pixman_region_fini(&transformed_damage);
pixman_region_fini(&refined_damage); pixman_region_fini(&refined_damage);
} }