mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Style: use ngx_free() instead of free().
This commit is contained in:
parent
244a6a28b1
commit
f240215ba6
@ -864,7 +864,7 @@ ngx_utf8_to_utf16(u_short *utf16, u_char *utf8, size_t *len)
|
|||||||
n = ngx_utf8_decode(&p, 4);
|
n = ngx_utf8_decode(&p, 4);
|
||||||
|
|
||||||
if (n > 0x10ffff) {
|
if (n > 0x10ffff) {
|
||||||
free(utf16);
|
ngx_free(utf16);
|
||||||
ngx_set_errno(NGX_EILSEQ);
|
ngx_set_errno(NGX_EILSEQ);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user