]> granicus.if.org Git - apache/commitdiff
Now how did this slip by. Fixes a segfault. I tested this code, really...
authorBill Stoddard <stoddard@apache.org>
Wed, 30 Jan 2002 01:57:53 +0000 (01:57 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 30 Jan 2002 01:57:53 +0000 (01:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93091 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 0fbf99a3fe36edcbb91e41610b0b9b674d46b62f..c940130e111c51bb653b0e20977e45df0c291c9d 100644 (file)
@@ -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;
     }