raw: Unref result in destroy

pull/80/head
Andri Yngvason 2022-10-30 13:52:52 +00:00
parent b3c1d5d1dc
commit b525608a06
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ static void raw_encoder_destroy(struct encoder* encoder)
pixman_region_fini(&self->current_damage);
if (self->work)
aml_unref(self->work);
if (self->current_result)
rcbuf_unref(self->current_result);
free(self);
}