diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c index 45e445660..4390cdcab 100644 --- a/src/os/win32/ngx_files.c +++ b/src/os/win32/ngx_files.c @@ -568,7 +568,6 @@ ngx_utf8_to_utf16(u_short *utf16, u_char *utf8, size_t *len) n = ngx_utf8_decode(&p, 4); if (n > 0xffff) { - free(utf16); ngx_set_errno(NGX_EILSEQ); return NULL; }