aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-05-20 15:36:24 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-05-20 15:36:24 +0300
commit51e4e31a8dbfd856dbc1875208fa37eeb56ddacc (patch)
treea85dc04ca74642ea64da8bdb36cd667a699b1e29 /src/http/v3/ngx_http_v3_request.c
parent04efd355aa02e40e5ec408a34bb31bec86649849 (diff)
downloadnginx-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.c2
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;