From: Jee-Yong Um Date: Wed, 21 Sep 2016 04:23:57 +0000 (+0900) Subject: edje_cc: duplicate string for script when inheriting edje group X-Git-Tag: accepted/tizen/common/20160921.162828^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F88869%2F2;p=platform%2Fupstream%2Fefl.git edje_cc: duplicate string for script when inheriting edje group Signed-Off-By: Jee-Yong Um Change-Id: I0657f35ede5d46dc286f5ae27f6316e34a6893c6 --- 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)