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:
73db6c5
)
e_comp_hwc: add the null check of g_hwc
97/68997/1
author
SooChan Lim
<sc1.lim@samsung.com>
Wed, 11 May 2016 05:06:22 +0000
(14:06 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Wed, 11 May 2016 05:07:33 +0000
(14:07 +0900)
Change-Id: Ie2a116d9058a345778811426b26da77497552b8e
src/bin/e_comp_hwc.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_hwc.c
b/src/bin/e_comp_hwc.c
index b0fab085f127292d821abfde0cc0bbdf6ab9a8e8..d37fe85f7fd0de3adc3461d389426846a6f165da 100755
(executable)
--- a/
src/bin/e_comp_hwc.c
+++ b/
src/bin/e_comp_hwc.c
@@
-1670,6
+1670,8
@@
fail:
void
e_comp_hwc_trace_debug(Eina_Bool onoff)
{
+ EINA_SAFETY_ON_NULL_RETURN(g_hwc);
+
if (onoff == g_hwc->trace_debug) return;
g_hwc->trace_debug = onoff;
INF("HWC: hwc trace_debug is %s", onoff?"ON":"OFF");