From b525608a067e1e74aa6567d8e74760e2d9b6cda9 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 30 Oct 2022 13:52:52 +0000 Subject: [PATCH] raw: Unref result in destroy --- src/raw-encoding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/raw-encoding.c b/src/raw-encoding.c index 2dc3fe2..be57d05 100644 --- a/src/raw-encoding.c +++ b/src/raw-encoding.c @@ -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); }