Fix thttpd_alloc.h:64:32: error: 'free' called on pointer 'hc' with nonzero offset 286 [-Werror=free-nonheap-object]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
bc84e5eb3c
commit
041cec1af8
@ -3203,7 +3203,6 @@ void httpd_destroy_conn(httpd_conn *hc)
|
||||
httpd_free(hc->reqhost);
|
||||
httpd_free(hc->hostdir);
|
||||
httpd_free(hc->remoteuser);
|
||||
httpd_free(hc->buffer);
|
||||
#ifdef CONFIG_THTTPD_TILDE_MAP2
|
||||
httpd_free(hc->altdir);
|
||||
#endif /* CONFIG_THTTPD_TILDE_MAP2 */
|
||||
|
Loading…
Reference in New Issue
Block a user