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:
3f22c62
)
evas vg: don't access a dangling pointer.
author
Hermet Park
<hermetpark@gmail.com>
Wed, 27 Feb 2019 10:13:18 +0000
(19:13 +0900)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:36 +0000
(20:49 +0900)
src/static_libs/vg_common/vg_common_svg.c
patch
|
blob
|
history
diff --git
a/src/static_libs/vg_common/vg_common_svg.c
b/src/static_libs/vg_common/vg_common_svg.c
index
6b18a0e
..
c55a057
100644
(file)
--- a/
src/static_libs/vg_common/vg_common_svg.c
+++ b/
src/static_libs/vg_common/vg_common_svg.c
@@
-847,7
+847,8
@@
_create_node(Svg_Node *parent, Svg_Node_Type type)
if (!node->style)
{
free(node);
- EINA_SAFETY_ON_NULL_RETURN_VAL(node->style, NULL);
+ ERR("OOM: Failed calloc()");
+ return NULL;
}
// update the default value of stroke and fill