diff src/http/v3/ngx_http_v3_request.c @ 7871:df18ae7161b8 quic

Assorted fixes. Found by Clang Static Analyzer.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 20 May 2020 15:36:24 +0300
parents 7bd334b8d91a
children d2759e4cc437
line wrap: on
line diff
--- 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_reque
 
         b = ngx_create_temp_buf(c->pool, len);
         if (b == NULL) {
-            NULL;
+            return NULL;
         }
 
         *b->last++ = NGX_HTTP_V3_FRAME_DATA;