aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/httpd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 3cfbdb979..d5cfd652c 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1659,9 +1659,11 @@ FORBIDDEN: /* protect listing /cgi-bin */
#if ENABLE_FEATURE_HTTPD_CGI
free(cookie);
free(content_type);
- free(config->referer); config->referer = NULL;
+ free(config->referer);
+ config->referer = NULL;
# if ENABLE_FEATURE_HTTPD_BASIC_AUTH
- free(config->remoteuser); config->remoteuser = NULL;
+ free(config->remoteuser);
+ config->remoteuser = NULL;
# endif
#endif
shutdown(config->accepted_socket, SHUT_WR);