From 8375abbf286e1d04c87240c97d76282b9a2e44a5 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Wed, 20 May 2020 16:08:19 -0400 Subject: tools/immutable_object_cache: fixed memory leak upon destruction Signed-off-by: Jason Dillaman --- src/tools/immutable_object_cache/CacheClient.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/immutable_object_cache') 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; -- cgit v1.2.3