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:
4a28980
)
e_hwc_windows: use EINA_LIST_FOREACH_SAFE when release commit_data
90/220090/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Fri, 13 Dec 2019 03:49:13 +0000
(12:49 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Fri, 13 Dec 2019 03:49:13 +0000
(12:49 +0900)
it is possible that e_hwc_window is freed when release commit_data
Change-Id: Idf22b41fff8d70f93d3d79e20460173df413e2dc
src/bin/e_hwc_windows.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc_windows.c
b/src/bin/e_hwc_windows.c
index 96b8f5c181292b5dc54b349b7d6b9c45050bb5a4..4612c3ae7f0efff613d905dd63e6617024dcaa63 100644
(file)
--- a/
src/bin/e_hwc_windows.c
+++ b/
src/bin/e_hwc_windows.c
@@
-200,10
+200,10
@@
static void
_e_hwc_windows_commit_data_release(E_Hwc *hwc, int sequence,
unsigned int tv_sec, unsigned int tv_usec)
{
- const Eina_List *l;
+ const Eina_List *l
, *ll
;
E_Hwc_Window *hwc_window;
- EINA_LIST_FOREACH
(hwc->hwc_windows,
l, hwc_window)
+ EINA_LIST_FOREACH
_SAFE(hwc->hwc_windows, l, l
l, hwc_window)
{
if (!hwc_window->commit_data) continue;
if (e_hwc_window_is_video(hwc_window) && hwc_window->ec)