]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/immutable_object_cache: fixed memory leak upon destruction
authorJason Dillaman <dillaman@redhat.com>
Wed, 20 May 2020 20:08:19 +0000 (16:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 20 May 2020 23:32:11 +0000 (19:32 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/immutable_object_cache/CacheClient.cc

index 60ba9f52fc1251927a000f2cd9c4435b84aeb26f..45dae6b88fd2cedd21a2406b8d3ba5ac33bfc6d6 100644 (file)
@@ -58,6 +58,7 @@ namespace immutable_obj_cache {
         thd->join();
         delete thd;
       }
+      delete m_worker_io_service_work;
       delete m_worker;
     }
     return 0;