]> git.kaiwu.me - nginx.git/commit
Fixed potential leak of temp pool.
authorEran Kornblau <erankor@gmail.com>
Mon, 15 Jun 2020 07:58:31 +0000 (03:58 -0400)
committerEran Kornblau <erankor@gmail.com>
Mon, 15 Jun 2020 07:58:31 +0000 (03:58 -0400)
commit1bbc37d35c67c0ef5271551f8e40fd899442d157
treeb079417c43cf13e044b1d0a69bf5293f9ca2fe96
parent0a683fdd9313b9796bf39442fd117beaa63a7157
Fixed potential leak of temp pool.

In case ngx_hash_add_key() fails, need to goto failed instead of returning,
so that temp_pool will be destoryed.
src/http/ngx_http.c