mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue