From f9da83980c9746664e9bbd2d2c6fcdfc7db74bb2 Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Mon, 12 Feb 2001 02:55:52 +0000 Subject: [PATCH] *) rename apr_memdup() to apr_pmemdup() *) optimize the allocation size in apr_pstrndup() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88104 13f79535-47bb-0310-9956-ffa450edef68 --- modules/tls/mod_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tls/mod_tls.c b/modules/tls/mod_tls.c index 90b921789e..04c8858568 100644 --- a/modules/tls/mod_tls.c +++ b/modules/tls/mod_tls.c @@ -267,7 +267,7 @@ static apr_status_t tls_in_filter(ap_filter_t *f,apr_bucket_brigade *pbbOut, apr_bucket *pbktOut; char *pbuf; - pbuf=apr_memdup(pCtx->pInputFilter->c->pool,buf,n); + pbuf=apr_pmemdup(pCtx->pInputFilter->c->pool,buf,n); // XXX: should we use a heap bucket instead? Or a transient (in // which case we need a separate brigade for each bucket)? pbktOut=apr_bucket_pool_create(pbuf,n,pCtx->pInputFilter->c->pool); -- 2.40.0