diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2023-02-15 17:07:09 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-03-01 12:35:11 +0200 |
commit | 39ad965461050db222bb71ddcf49709124160d26 (patch) | |
tree | 01ee3af19e1e093f2e268cbd17682c72c13e125d | |
parent | 77475e34bf7a1619bc792fc9e4a28275201dfc18 (diff) |
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 <marius.vlad@collabora.com>
Change-Id: Ia2d46ecd1748c078e924d8d6c90bd86e9c49f64c
(cherry picked from commit d98b08f1fcb6ff6ccc762f149c8aa53a6921ad60)
-rw-r--r-- | src/compositor.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |