projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
095ed35
)
efl_ui_scroll_util: add null check after calloc
author
WooHyun Jung
<wh0705.jung@samsung.com>
Fri, 20 Sep 2019 02:09:02 +0000
(11:09 +0900)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Fri, 20 Sep 2019 21:20:40 +0000
(06:20 +0900)
src/lib/elementary/efl_ui_scroll_util.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_scroll_util.c
b/src/lib/elementary/efl_ui_scroll_util.c
index
285e43f
..
4c34737
100644
(file)
--- a/
src/lib/elementary/efl_ui_scroll_util.c
+++ b/
src/lib/elementary/efl_ui_scroll_util.c
@@
-255,6
+255,7
@@
void
efl_ui_scroll_connector_bind(Eo *obj, Eo *manager)
{
Scroll_Connector_Context *ctx = calloc(1, sizeof(Scroll_Connector_Context));
+ if (!ctx) return;
ctx->obj = obj;
ctx->smanager = manager;
efl_key_data_set(obj, "__context", ctx);