diff options
author | Jason Dillaman <dillaman@redhat.com> | 2020-05-20 22:08:19 +0200 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2020-05-21 01:32:11 +0200 |
commit | 8375abbf286e1d04c87240c97d76282b9a2e44a5 (patch) | |
tree | f20f9ab59ce8f70d5a1b43492f60eae8824e162a /src/tools/immutable_object_cache | |
parent | librbd: initial plugin registry implementation (diff) | |
download | ceph-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.cc | 1 |
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; |