summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-10-26 08:18:21 +0200
committerGravatar default2022-10-26 08:18:21 +0200
commit003da7fec75c2e1366eebc1c1b00792903a8c968 (patch)
tree65bcf38d89a44e0b6c78d3bf0a5d4f5cc96d207f
parentFixed a nasty macro expansion bug. (diff)
downloadpenes-snac2-003da7fec75c2e1366eebc1c1b00792903a8c968.tar.gz
penes-snac2-003da7fec75c2e1366eebc1c1b00792903a8c968.tar.xz
penes-snac2-003da7fec75c2e1366eebc1c1b00792903a8c968.zip
Added a forgotten user_free() in html_post_handler().
-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,
1098 *b_size = strlen(*body); 1098 *b_size = strlen(*body);
1099 } 1099 }
1100 1100
1101 user_free(&snac);
1102
1101 return status; 1103 return status;
1102} 1104}
1103 1105