]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix leak of RGWDataChangesLog::renew_thread
authorSage Weil <sage@inktank.com>
Sat, 27 Jul 2013 06:20:54 +0000 (23:20 -0700)
committerSage Weil <sage@inktank.com>
Sun, 18 Aug 2013 18:45:01 +0000 (11:45 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 25948319c4d256c4aeb0137eb88947e54d14cc79)

src/rgw/rgw_bucket.cc

index 3cb730b555ec216fab2defc6ca4cf0549ed214a3..1e523f332cf3265ef314414a5d4ca865e3ee3cd7 100644 (file)
@@ -1296,6 +1296,7 @@ RGWDataChangesLog::~RGWDataChangesLog() {
   down_flag.set(1);
   renew_thread->stop();
   renew_thread->join();
+  delete renew_thread;
   delete[] oids;
 }