From d98b08f1fcb6ff6ccc762f149c8aa53a6921ad60 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 15 Feb 2023 17:07:09 +0200 Subject: compositor: Fix memleak when disabling the output Turns out we're leaking out the app_ids when disabling the output so turn that memleak off. Bug-AGL: SPEC-4705 Signed-off-by: Marius Vlad Change-Id: Ia2d46ecd1748c078e924d8d6c90bd86e9c49f64c --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 617f1b5..b97ad79 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -502,6 +502,7 @@ head_disable(struct ivi_compositor *ivi, struct weston_head *head) } } wl_list_remove(&ivi_output->link); + free(ivi_output->app_ids); free(ivi_output); } -- cgit 1.2.3-korg