summaryrefslogtreecommitdiff
path: root/modules/filters
diff options
context:
space:
mode:
authorGiovanni Bechis <gbechis@apache.org>2020-02-18 07:37:45 +0000
committerGiovanni Bechis <gbechis@apache.org>2020-02-18 07:37:45 +0000
commitf71e6fc9a3f27c96fee68a63c46cc95fbdeecc78 (patch)
treeb3619522fbdb366ce506bee6862628e3bedbf564 /modules/filters
parent6881183e845551ee636bfec6cf21b9f5c13a6278 (diff)
downloadhttpd-f71e6fc9a3f27c96fee68a63c46cc95fbdeecc78.tar.gz
convert malloc(3) into ap_malloc
bz 64049 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/filters')
-rw-r--r--modules/filters/mod_proxy_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c
index e72749a756..c50b07a0c1 100644
--- a/modules/filters/mod_proxy_html.c
+++ b/modules/filters/mod_proxy_html.c
@@ -203,7 +203,7 @@ static void preserve(saxctxt *ctx, const size_t len)
else while (len > (ctx->avail - ctx->offset))
ctx->avail += ctx->cfg->bufsz;
- newbuf = realloc(ctx->buf, ctx->avail);
+ newbuf = ap_realloc(ctx->buf, ctx->avail);
if (newbuf != ctx->buf) {
if (ctx->buf)
apr_pool_cleanup_kill(ctx->f->r->pool, ctx->buf,