]> 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>
Sat, 27 Jul 2013 06:22:25 +0000 (23:22 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/rgw/rgw_bucket.cc

index bf8da99d616da5298c9a5be2ba9937625b69ee5c..7619ac5a0f1289f8fa177ef41d1605a0a52a74fc 100644 (file)
@@ -1292,6 +1292,7 @@ RGWDataChangesLog::~RGWDataChangesLog() {
   down_flag.set(1);
   renew_thread->stop();
   renew_thread->join();
+  delete renew_thread;
   delete[] oids;
 }