summaryrefslogtreecommitdiffhomepage
path: root/ast.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-02 17:37:19 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-02 19:19:30 +0200
commit96aafdf30e6557e5fdf3e80c7dee4e1dab73e898 (patch)
tree167e1b4c2cea9eceb1f383412fea65594874f729 /ast.c
parent74a73e2c41ed9661e32a26fe1460a1b8a68961e7 (diff)
main: track current template filename during execution
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index 8efc370..19ff534 100644
--- a/ast.c
+++ b/ast.c
@@ -397,6 +397,7 @@ ut_free(struct ut_state *s)
json_object_put(ut_ext_types[--ut_ext_types_count].proto);
free(ut_ext_types);
+ free(s->filename);
free(s);
}