summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2016-06-16 15:26:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-16 15:26:08 +0900
commit39452ff8488d2189f93d610064682529b3b88fa7 (patch)
tree69c0eec04f5ae0a0257d3c3c5a446e70cd3254c2
parent3340745c65ef8b8361dc6eff5e746f7ce1104378 (diff)
downloadefl-39452ff8488d2189f93d610064682529b3b88fa7.tar.gz
edje_load : return if we can't decode the vector data.
Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4050
-rw-r--r--src/lib/edje/edje_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index e6231a95cc..5ca19e5e75 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -2453,6 +2453,7 @@ _edje_dupe_vector_data(Edje *ed, int svg_id, double width, double height,
if (!vector->vg)
{
data->vg = NULL;
+ return;
}
root = evas_vg_container_add(NULL);