]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/admin: fix formatter leaks again 50383/head
authorCasey Bodley <cbodley@redhat.com>
Sun, 5 Mar 2023 02:11:43 +0000 (21:11 -0500)
committerCasey Bodley <cbodley@redhat.com>
Sun, 5 Mar 2023 14:28:34 +0000 (09:28 -0500)
commitd1de5fd89c4967151647b0641de145912a00f4fc
tree9ae17ecfc182e5f8c43398fef35992bcc80078a4
parent8a291f4cc74ff6586b414b6772b04e8cb75742fb
rgw/admin: fix formatter leaks again

the Formatter constructors take a 'bool pretty' argument. the pointers
allocated by 'new' were being converted to bools and leaked by
make_unique

this was already fixed in 5302c18c7eeda11021714eeb01438f20e580e166,
but reverted in a rebase by 200f71a90c9e77c91452cec128c2c8be0d3d6f1f

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc