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:
ae193f0
)
e_hwc_windows: add null check of target window
92/269292/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 11 Jan 2022 06:49:40 +0000
(15:49 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 12 Jan 2022 11:13:07 +0000
(20:13 +0900)
Change-Id: I99f536003d7297f11fe6577adbc259b60c77d5dc
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
a685920
..
b096db7
100644
(file)
--- a/
src/bin/e_hwc_windows.c
+++ b/
src/bin/e_hwc_windows.c
@@
-3691,7
+3691,9
@@
e_hwc_windows_target_window_new(E_Hwc *hwc)
else
{
target_hwc_window = _e_hwc_windows_target_window_new_with_no_ee(hwc);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(target_hwc_window, NULL);
}
+
target_hwc_window->hwc = hwc;
hwc->hwc_windows = eina_list_append(hwc->hwc_windows, target_hwc_window);