From 138af0a74c83e7b944e378faa5f9b1073463b03a Mon Sep 17 00:00:00 2001 From: "G.Grandes" Date: Sat, 22 Feb 2025 00:21:24 +0100 Subject: [PATCH] Fix OutOfMemory bugzilla#69590 Proposed patch to resolve OutOfMemory, in local testing it has worked correctly. https://bz.apache.org/bugzilla/show_bug.cgi?id=69590 --- modules/lua/mod_lua.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index ed5c839fe9a..8fc1c6c6c9d 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -498,6 +498,7 @@ static apr_status_t lua_output_filter_handle(ap_filter_t *f, apr_bucket_brigade APR_BRIGADE_INSERT_TAIL(ctx->tmpBucket, pbktOut); rv = ap_pass_brigade(f->next, ctx->tmpBucket); apr_brigade_cleanup(ctx->tmpBucket); + apr_bucket_delete(pbktIn); if (rv != APR_SUCCESS) { return rv; }