From 9d6c78ff8b619862774dd881c129d6756e25b769 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Wed, 30 Sep 2015 14:46:04 -0400 Subject: [PATCH] librgw: replace RGWHandler::put_op() in RGWLib path The method just called delete on the RGWOp pointer. Signed-off-by: Matt Benjamin --- src/rgw/librgw.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/rgw/librgw.cc b/src/rgw/librgw.cc index 827f401684f01..616fc4660b745 100644 --- a/src/rgw/librgw.cc +++ b/src/rgw/librgw.cc @@ -396,6 +396,7 @@ int process_request(RGWRados* store, RGWREST* rest, RGWRequest* base_req, RGWEnv& rgw_env = io->get_env(); + // XXXX fix me--we have a local cct struct req_state rstate(g_ceph_context, &rgw_env); struct req_state *s = &rstate; @@ -484,12 +485,8 @@ done: req->log_format(s, "http status=%d", http_ret); -#warning XXX what did this do (return handler? stash op?) -#if 0 - if (handler) - handler->put_op(op); - rest->put_handler(handler); -#endif + /* XXX what RGWHandler::put_op() does */ + delete op; dout(1) << "====== " << __func__ << " req done req=" << hex << req << dec << " http_status=" -- 2.39.5