aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_hash.c')
-rw-r--r--src/core/ngx_hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_hash.c b/src/core/ngx_hash.c
index d684e7057..d9c157c1d 100644
--- a/src/core/ngx_hash.c
+++ b/src/core/ngx_hash.c
@@ -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;
}