From afd601e6f5556fd51ffabe24d70616f30b6b5b2d Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Wed, 30 Jan 2002 01:57:53 +0000 Subject: [PATCH] Now how did this slip by. Fixes a segfault. I tested this code, really... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93091 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index 0fbf99a3fe..c940130e11 100644 --- a/server/core.c +++ b/server/core.c @@ -3209,7 +3209,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) core_output_filter_ctx_t *ctx = net->out_ctx; if (ctx == NULL) { - ctx = apr_pcalloc(net->c->pool, sizeof(*ctx)); + ctx = apr_pcalloc(c->pool, sizeof(*ctx)); net->out_ctx = ctx; } -- 2.50.1