Code Review
/
src
/
agl-compositor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
53a039f
)
compositor: Fix memleak when disabling the output
02/28502/1
author
Marius Vlad
<marius.vlad@collabora.com>
Wed, 15 Feb 2023 15:07:09 +0000
(17:07 +0200)
committer
Marius Vlad
<marius.vlad@collabora.com>
Wed, 15 Feb 2023 15:47:14 +0000
(17:47 +0200)
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
src/compositor.c
patch
|
blob
|
history
diff --git
a/src/compositor.c
b/src/compositor.c
index
617f1b5
..
b97ad79
100644
(file)
--- 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);
}