buffer: Clean up damage

pull/6/head
Andri Yngvason 2022-04-09 16:19:08 +00:00
parent 9afe099377
commit 040a87836d
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ void buffer_destroy(struct buffer* self)
if (self->is_attached)
self->please_clean_up = true;
pixman_region_fini(&self->damage);
wl_buffer_destroy(self->wl_buffer);
switch (self->type) {