Browse Source

Added a forgotten user_free() in html_post_handler().

default 2 years ago
parent
commit
003da7fec7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      html.c

+ 2 - 0
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;
 }