]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: release unused callback argument 32669/head
authorIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 16 Jan 2020 02:51:49 +0000 (11:51 +0900)
committerIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 16 Jan 2020 07:04:06 +0000 (16:04 +0900)
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
src/cls/rgw/cls_rgw_client.h

index 2d1566b7ad35700a452c826e8a013c4ec0ffa539..62024b366ffc557e5d6412cc82810a2a968a3a9f 100644 (file)
@@ -104,6 +104,7 @@ public:
     if (r >= 0) {
       add_pending(arg->id, c, oid);
     } else {
+      arg->put();
       c->release();
     }
     return r;
@@ -120,6 +121,7 @@ public:
     if (r >= 0) {
       add_pending(arg->id, c, oid);
     } else {
+      arg->put();
       c->release();
     }
     return r;