]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fixed memory leak in 'rbd mirror pool' multi-image actions 28121/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 18 Apr 2019 17:20:17 +0000 (13:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 May 2019 18:56:35 +0000 (14:56 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ba52f4297f4ad96e8b4db5d24e2e73e4b303fda9)

src/tools/rbd/action/MirrorPool.cc

index b7dfa6d57f3117b63f30eab3e5fcb47ba87dd169..24da115bfcd2d2f1638dfb35e54e9cdbf3f3c853 100644 (file)
@@ -451,6 +451,7 @@ private:
       finalize_action();
     }
     m_throttle.end_op(r);
+    delete this;
   }
 
 };