mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
Core: fixed memory leak on error, missed in c3f60d618c17.
Found by Coverity (CID 1451664).
This commit is contained in:
parent
2187586207
commit
c3fd5f7e76
@ -358,6 +358,7 @@ found:
|
|||||||
"could not build %s, you should "
|
"could not build %s, you should "
|
||||||
"increase %s_max_size: %i",
|
"increase %s_max_size: %i",
|
||||||
hinit->name, hinit->name, hinit->max_size);
|
hinit->name, hinit->name, hinit->max_size);
|
||||||
|
ngx_free(test);
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user