From: Marius Vlad Date: Wed, 15 Feb 2023 15:07:09 +0000 (+0200) Subject: compositor: Fix memleak when disabling the output X-Git-Tag: 17.90.0~45 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=d98b08f1fcb6ff6ccc762f149c8aa53a6921ad60;hp=53a039ff1c4b05aaacce118a04563620e676d7c6;p=src%2Fagl-compositor.git 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 --- 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); }