Core: fixed memory leak on error, missed in c3f60d618c17.

Found by Coverity (CID 1451664).
This commit is contained in:
Maxim Dounin 2019-07-19 17:50:00 +03:00
parent 2187586207
commit c3fd5f7e76

View File

@ -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;
}