summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-02-15 17:07:09 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-02-15 17:47:14 +0200
commitd98b08f1fcb6ff6ccc762f149c8aa53a6921ad60 (patch)
tree84f9de24cc3af1d78d0d9586872e1f0b0faaf17f
parent53a039ff1c4b05aaacce118a04563620e676d7c6 (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
-rw-r--r--src/compositor.c1
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);
}