summary refs log tree commit diff
path: root/contexts.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contexts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contexts.c b/contexts.c
index b81c515..77774ae 100644
--- a/contexts.c
+++ b/contexts.c
@@ -107,5 +107,7 @@ enum kcgi_err pageContexts(struct kreq *req) {
 	if (result != SQLITE_DONE) errx(EX_SOFTWARE, "%s", sqlite3_errmsg(db));
 	sqlite3_reset(stmt.contexts);
 
-	return error || khtml_close(&html);
+	return error
+		|| htmlFooter(&html)
+		|| khtml_close(&html);
 }