buffer: Clean up damage
parent
9afe099377
commit
040a87836d
|
@ -162,6 +162,7 @@ void buffer_destroy(struct buffer* self)
|
||||||
if (self->is_attached)
|
if (self->is_attached)
|
||||||
self->please_clean_up = true;
|
self->please_clean_up = true;
|
||||||
|
|
||||||
|
pixman_region_fini(&self->damage);
|
||||||
wl_buffer_destroy(self->wl_buffer);
|
wl_buffer_destroy(self->wl_buffer);
|
||||||
|
|
||||||
switch (self->type) {
|
switch (self->type) {
|
||||||
|
|
Loading…
Reference in New Issue