summaryrefslogtreecommitdiffstats
path: root/src/tools/immutable_object_cache
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2020-05-20 22:08:19 +0200
committerJason Dillaman <dillaman@redhat.com>2020-05-21 01:32:11 +0200
commit8375abbf286e1d04c87240c97d76282b9a2e44a5 (patch)
treef20f9ab59ce8f70d5a1b43492f60eae8824e162a /src/tools/immutable_object_cache
parentlibrbd: initial plugin registry implementation (diff)
downloadceph-8375abbf286e1d04c87240c97d76282b9a2e44a5.tar.xz
ceph-8375abbf286e1d04c87240c97d76282b9a2e44a5.zip
tools/immutable_object_cache: fixed memory leak upon destruction
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/tools/immutable_object_cache')
-rw-r--r--src/tools/immutable_object_cache/CacheClient.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/immutable_object_cache/CacheClient.cc b/src/tools/immutable_object_cache/CacheClient.cc
index 60ba9f52fc1..45dae6b88fd 100644
--- a/src/tools/immutable_object_cache/CacheClient.cc
+++ b/src/tools/immutable_object_cache/CacheClient.cc
@@ -58,6 +58,7 @@ namespace immutable_obj_cache {
thd->join();
delete thd;
}
+ delete m_worker_io_service_work;
delete m_worker;
}
return 0;