aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje/edje_cc_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/edje_cc_script.c')
-rw-r--r--src/bin/edje/edje_cc_script.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bin/edje/edje_cc_script.c b/src/bin/edje/edje_cc_script.c
index c2f0b5c66b..2e52ac1c2f 100644
--- a/src/bin/edje/edje_cc_script.c
+++ b/src/bin/edje/edje_cc_script.c
@@ -93,6 +93,7 @@ code_parse_internal(Code *code)
free(token);
token = tmp;
+ tmp = NULL;
break;
}
@@ -101,13 +102,6 @@ code_parse_internal(Code *code)
}
}
- if (tmp)
- {
- if (tmp->str) free(tmp->str);
- free(tmp);
- tmp = NULL;
- }
-
switch (token->type)
{
case TOKEN_TYPE_COLON: