aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_alloc.c')
-rw-r--r--src/core/ngx_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_alloc.c b/src/core/ngx_alloc.c
index 26c7458a1..f2608f77d 100644
--- a/src/core/ngx_alloc.c
+++ b/src/core/ngx_alloc.c
@@ -73,6 +73,7 @@ void ngx_destroy_pool(ngx_pool_t *pool)
break;
}
}
+ pool = NULL;
}
void *ngx_palloc(ngx_pool_t *pool, size_t size)