From 04f40528a3d36ca4aea50c109a94f4b50af2556b Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Tue, 2 Jan 2024 21:29:33 +0100 Subject: [PATCH] ChafaPlacement: Unref our image when done --- chafa/chafa-placement.c | 1 + 1 file changed, 1 insertion(+) diff --git a/chafa/chafa-placement.c b/chafa/chafa-placement.c index 0b27f75..5429aba 100644 --- a/chafa/chafa-placement.c +++ b/chafa/chafa-placement.c @@ -104,6 +104,7 @@ chafa_placement_unref (ChafaPlacement *placement) if (g_atomic_int_dec_and_test (&placement->refs)) { + chafa_image_unref (placement->image); g_free (placement); } }