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:
aad791e
)
evas main: check for OOM when calloc().
06/200006/2
author
Hermet Park
<hermetpark@gmail.com>
Mon, 18 Feb 2019 05:35:27 +0000
(14:35 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 18 Feb 2019 06:39:46 +0000
(06:39 +0000)
Change-Id: I091396e3dea3a48c0f3c2ff3460b2a1a1a2868db
src/lib/evas/canvas/evas_object_main.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_main.c
b/src/lib/evas/canvas/evas_object_main.c
index
8f218fa
..
faa5c1e
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_main.c
+++ b/
src/lib/evas/canvas/evas_object_main.c
@@
-2675,6
+2675,7
@@
_efl_canvas_object_event_animation_set(Eo *eo_obj,
if (!animation) return;
event_anim = calloc(1, sizeof(Event_Animation));
+ EINA_SAFETY_ON_NULL_RETURN(event_anim);
//Set callback for Hide event
if (desc == EFL_GFX_ENTITY_EVENT_HIDE)