From 97a6a58a9581452291641424d28dc0310e176afd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 14 Feb 2024 16:08:23 +0100 Subject: backend/drm: fix fb_damage_clips_arr memory leak --- backend/drm/libliftoff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/drm/libliftoff.c b/backend/drm/libliftoff.c index b53c1571..c877e7b8 100644 --- a/backend/drm/libliftoff.c +++ b/backend/drm/libliftoff.c @@ -497,6 +497,7 @@ out: wlr_log_errno(WLR_ERROR, "Failed to destroy FB_DAMAGE_CLIPS property blob"); } } + wl_array_release(&fb_damage_clips_arr); return ok; } -- cgit v1.2.3