projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3402ddf
)
stack: fix null pointer dereferences
38/49338/1
author
Duna Oh
<duna.oh@samsung.com>
Tue, 13 Oct 2015 00:40:57 +0000
(09:40 +0900)
committer
Duna Oh
<duna.oh@samsung.com>
Tue, 13 Oct 2015 00:40:57 +0000
(09:40 +0900)
Change-Id: I85a6bcb50ac118d4132f3877f850cde73dc7770d
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/e_mod_stack.c
patch
|
blob
|
history
diff --git
a/src/e_mod_stack.c
b/src/e_mod_stack.c
index
0f90c1c
..
2465443
100644
(file)
--- a/
src/e_mod_stack.c
+++ b/
src/e_mod_stack.c
@@
-33,6
+33,8
@@
_pol_stack_data_add(E_Client *ec)
return ps;
ps = E_NEW(Pol_Stack, 1);
+ if (!ps) return NULL;
+
ps->ec = ec;
eina_hash_add(hash_pol_stack, &ec, ps);