mirror of
https://github.com/nginx/nginx.git
synced 2026-08-30 15:01:46 +00:00
Core: fixed memory leak on error, missed in c3f60d618c17.
Found by Coverity (CID 1451664).
This commit is contained in:
parent
2187586207
commit
c3fd5f7e76
1 changed files with 1 additions and 0 deletions
|
|
@ -358,6 +358,7 @@ found:
|
|||
"could not build %s, you should "
|
||||
"increase %s_max_size: %i",
|
||||
hinit->name, hinit->name, hinit->max_size);
|
||||
ngx_free(test);
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue