projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab1b5ab
)
e_hwc_windows: fix leak of visible_windows list when e_hwc is deleted
47/268047/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 14 Dec 2021 03:21:17 +0000
(12:21 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 15 Dec 2021 08:25:04 +0000
(17:25 +0900)
Change-Id: I43f6113c3940bc9b6703d7f5dbe3f855f73dab3a
src/bin/e_hwc.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc.c
b/src/bin/e_hwc.c
index
bb6e8b4
..
edbbaa7
100644
(file)
--- a/
src/bin/e_hwc.c
+++ b/
src/bin/e_hwc.c
@@
-614,6
+614,7
@@
EINTERN void
e_hwc_del(E_Hwc *hwc)
{
E_Hwc_Sync_Callback *sync_callback;
+ E_Hwc_Window *hwc_window;
if (!hwc) return;
@@
-628,6
+629,9
@@
e_hwc_del(E_Hwc *hwc)
EINA_LIST_FREE(hwc->sync_callback_list, sync_callback)
sync_callback->hwc = NULL;
+ EINA_LIST_FREE(hwc->visible_windows, hwc_window)
+ e_hwc_window_unref(hwc_window);
+
_e_hwc_ee_deinit(hwc);
if (hwc->commit_fence_fd >= 0)