aboutsummaryrefslogtreecommitdiff
path: root/ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctl.c')
-rw-r--r--ctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctl.c b/ctl.c
index 2d7f41a..757d159 100644
--- a/ctl.c
+++ b/ctl.c
@@ -31,6 +31,7 @@ showatt(id)
printf("Content-Type: %s\n\n", att->mime);
printf("%.*s", att->bytes, att->data);
+ free(att);
}
void
@@ -77,6 +78,8 @@ showpost(int id)
title = site.name;
printf("Content-Type: text/html\n\n");
#include "t/post.tc"
+ free(user);
+ free(post);
}
void