Skip to content

Commit

Permalink
Fix OutOfMemory bugzilla#69590
Browse files Browse the repository at this point in the history
Proposed patch to resolve OutOfMemory, in local testing it has worked correctly.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69590
  • Loading branch information
ggrandes authored Feb 21, 2025
1 parent a2e2350 commit 138af0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/lua/mod_lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 138af0a

Please sign in to comment.