aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-09-20 13:07:36 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2019-09-20 13:38:13 +0200
commitc07d42d75daa0d9e9b257b2682aad8a03259ab5a (patch)
tree75c91b7b48e2343a57e74faa62122b8d92e1dbd4
parentelementary_codegen: check before use to avoid use after free (diff)
downloadefl-devs/stefan/coverity-fixes.tar.gz
edje_script_cc: cleanup before leaving code_parse_internaldevs/stefan/coverity-fixes
We use func to be holding some symbols during the parse process. Before we leave we should clean it up though. Coverity ID: 1382209
-rw-r--r--src/bin/edje/edje_cc_script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_script.c b/src/bin/edje/edje_cc_script.c
index 2e52ac1c2f..4f438bf340 100644
--- a/src/bin/edje/edje_cc_script.c
+++ b/src/bin/edje/edje_cc_script.c
@@ -230,6 +230,7 @@ code_parse_internal(Code *code)
free(token);
}
+ free(func);
eina_array_free(name_stack);
}