That way we don't deconstruct it right after assigning a reference to
part of it.
Fixes: https://tracker.ceph.com/issues/41172
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
rgw_placement_rule *pdest_placement;
+ multipart_upload_info upload_info;
if (multipart) {
RGWMPObj mp(s->object.name, multipart_upload_id);
- multipart_upload_info upload_info;
op_ret = get_multipart_info(store, s, mp.get_meta(), nullptr, nullptr, &upload_info);
if (op_ret < 0) {
if (op_ret != -ENOENT) {