diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 3cfbdb9..d5cfd65 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); |