summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-26 08:18:21 +0200
committerdefault <nobody@localhost>2022-10-26 08:18:21 +0200
commit003da7fec75c2e1366eebc1c1b00792903a8c968 (patch)
tree65bcf38d89a44e0b6c78d3bf0a5d4f5cc96d207f /html.c
parent3acc70b2704f5244fe4ad96b65a3286c42d47f79 (diff)
Added a forgotten user_free() in html_post_handler().
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index 86b017a..7fd1294 100644
--- a/html.c
+++ b/html.c
@@ -1098,6 +1098,8 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
*b_size = strlen(*body);
}
+ user_free(&snac);
+
return status;
}