From a5342b4541c9c6b350ca015b94c7fd00d125e088 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 17 Nov 2006 18:26:57 +0000 Subject: [PATCH] httpd: make Bernhard happier --- networking/httpd.c | 6 ++++-- 1 file 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);