aboutsummaryrefslogtreecommitdiff
path: root/src/template.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 18:23:48 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 22:20:30 -0400
commit3c36d85db7c689cc20f480492d6ee4f43d27cbf8 (patch)
treefb06847031fbbc869bec0036e6f744c1a96e0523 /src/template.c
parent664129de7d14bcfa4fe16e319d13a226b5087b82 (diff)
downloadstasis-3c36d85db7c689cc20f480492d6ee4f43d27cbf8.tar.gz
Consolidate pointer assignment to if-statement
* Easier to see what's happening. Nothing more.
Diffstat (limited to 'src/template.c')
-rw-r--r--src/template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.c b/src/template.c
index 7a5b0b9..41962c8 100644
--- a/src/template.c
+++ b/src/template.c
@@ -44,7 +44,7 @@ void tpl_free() {
struct tpl_item *item = tpl_pool[i];
if (item) {
if (item->key) {
- free(item->key);
+ SYSERROR("freeing template item key: %s", item->key);
guard_free(item->key);
}
free(item);