summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-26 23:20:54 -0700
committerSage Weil <sage@inktank.com>2013-08-18 11:45:01 -0700
commit9ac003f793b6cc72059110aac44014ddf2372bee (patch)
tree7daa3b2dbd0b8d0c81803f907df398e0dc157058
parent89cd9dc403e97b4bd08920fbb5d6e2b8b9b7dac2 (diff)
downloadceph-9ac003f793b6cc72059110aac44014ddf2372bee.tar.gz
rgw: fix leak of RGWDataChangesLog::renew_thread
Signed-off-by: Sage Weil <sage@inktank.com> (cherry picked from commit 25948319c4d256c4aeb0137eb88947e54d14cc79)
-rw-r--r--src/rgw/rgw_bucket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_bucket.cc b/src/rgw/rgw_bucket.cc
index 3cb730b555e..1e523f332cf 100644
--- a/src/rgw/rgw_bucket.cc
+++ b/src/rgw/rgw_bucket.cc
@@ -1296,6 +1296,7 @@ RGWDataChangesLog::~RGWDataChangesLog() {
down_flag.set(1);
renew_thread->stop();
renew_thread->join();
+ delete renew_thread;
delete[] oids;
}