From 038b6df0cadabcd5d23cea01b86e3b3587a481e4 Mon Sep 17 00:00:00 2001 From: Shilpa Jagannath Date: Mon, 4 May 2026 16:16:35 -0400 Subject: [PATCH] rgw: fix assert crash in RGWDeleteMultiObj end_response() remove the close_section() call from end_response() and rely on output_footer() inside rgw_flush_formatter_and_reset() to close the DeleteResult section safely. Signed-off-by: Shilpa Jagannath --- src/rgw/rgw_rest_s3.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index b3cb03fef733..e78fe651c6b0 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -4999,7 +4999,6 @@ void RGWDeleteMultiObj_ObjStore_S3::send_partial_response(const rgw_obj_key& key void RGWDeleteMultiObj_ObjStore_S3::end_response() { - s->formatter->close_section(); rgw_flush_formatter_and_reset(s, s->formatter); } -- 2.47.3