aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-08-05 12:09:39 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-08-05 12:09:39 -0400
commit7414adf3424a674cdf83c4ac60356f1b31a79018 (patch)
tree4abfc6017f52512e236fb98566bb0effadf49d38
parent202e69c8951a38187489c66e994dd593755d62cb (diff)
downloadstasis-7414adf3424a674cdf83c4ac60356f1b31a79018.tar.gz
Free the function key string in tplfunc_frame during tpl_free()
-rw-r--r--src/template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.c b/src/template.c
index 8e1357c..a412fa8 100644
--- a/src/template.c
+++ b/src/template.c
@@ -97,6 +97,7 @@ void tpl_free() {
}
for (unsigned i = 0; i < tpl_pool_func_used; i++) {
struct tplfunc_frame *item = tpl_pool_func[i];
+ guard_free(item->key);
guard_free(item);
}
}