]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fixed memory leak in 'rbd mirror pool' multi-image actions 28125/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 18 Apr 2019 17:20:17 +0000 (13:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 1 Oct 2019 11:37:06 +0000 (07:37 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ba52f4297f4ad96e8b4db5d24e2e73e4b303fda9)

src/tools/rbd/action/MirrorPool.cc

index a2f10cd1d82d78f73aa4d9ff7f3eed1c477f9699..361aef75477465da5e27465d55a0e1ced79dbcd8 100644 (file)
@@ -330,6 +330,7 @@ private:
       finalize_action();
     }
     m_throttle.end_op(r);
+    delete this;
   }
 
 };