merge r3615:
do not free() stack allocated buffer
This commit is contained in:
parent
784e96770e
commit
86fa681d16
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue