diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-05-20 15:36:24 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-05-20 15:36:24 +0300 |
commit | 51e4e31a8dbfd856dbc1875208fa37eeb56ddacc (patch) | |
tree | a85dc04ca74642ea64da8bdb36cd667a699b1e29 /src/http/v3/ngx_http_v3_request.c | |
parent | 04efd355aa02e40e5ec408a34bb31bec86649849 (diff) | |
download | nginx-51e4e31a8dbfd856dbc1875208fa37eeb56ddacc.tar.gz nginx-51e4e31a8dbfd856dbc1875208fa37eeb56ddacc.zip |
Assorted fixes.
Found by Clang Static Analyzer.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c index e0ee0c882..c4b313d31 100644 --- a/src/http/v3/ngx_http_v3_request.c +++ b/src/http/v3/ngx_http_v3_request.c @@ -618,7 +618,7 @@ ngx_http_v3_create_header(ngx_http_request_t *r) b = ngx_create_temp_buf(c->pool, len); if (b == NULL) { - NULL; + return NULL; } *b->last++ = NGX_HTTP_V3_FRAME_DATA; |