aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-14 16:08:23 +0100
committerSimon Ser <contact@emersion.fr>2024-02-14 17:04:39 +0100
commit97a6a58a9581452291641424d28dc0310e176afd (patch)
tree78cdd6f91473f2cfe734498890cc6b68faf76a96
parent4c69bc47f4b80fe834683d59d2aeca6ad7de38d8 (diff)
backend/drm: fix fb_damage_clips_arr memory leak
-rw-r--r--backend/drm/libliftoff.c1
1 files changed, 1 insertions, 0 deletions
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;
}