From ba1284ce16894d18b848445fb5bc5cea0fdd071d Mon Sep 17 00:00:00 2001 From: Jee-Yong Um Date: Wed, 21 Sep 2016 13:23:57 +0900 Subject: [PATCH] edje_cc: duplicate string for script when inheriting edje group Signed-Off-By: Jee-Yong Um Change-Id: I0657f35ede5d46dc286f5ae27f6316e34a6893c6 --- src/bin/edje/edje_cc_handlers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 5032b60..72f7f89 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -4138,8 +4138,8 @@ st_collections_group_inherit(void) cd = eina_list_data_get(eina_list_last(codes)); cd->is_lua = cd2->is_lua; - cd->shared = cd2->shared; - cd->original = cd2->original; + cd->shared = STRDUP(cd2->shared); + cd->original = STRDUP(cd2->original); script_override = EINA_TRUE; EINA_LIST_FOREACH(cd2->programs, l, cp2) -- 2.7.4