This is an automated email from the ASF dual-hosted git repository.
dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 33c279363a Coverity: Fix for CID 1587263. (#11954)
33c279363a is described below
commit 33c279363ababcb3d9b9188e2938b58a04abae75
Author: Damian Meden <[email protected]>
AuthorDate: Wed Jan 15 10:01:16 2025 +0100
Coverity: Fix for CID 1587263. (#11954)
Add missing delete.
---
src/iocore/hostdb/test_RefCountCache.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/iocore/hostdb/test_RefCountCache.cc
b/src/iocore/hostdb/test_RefCountCache.cc
index 50d4c6b96f..334c24b258 100644
--- a/src/iocore/hostdb/test_RefCountCache.cc
+++ b/src/iocore/hostdb/test_RefCountCache.cc
@@ -194,6 +194,8 @@ testclear()
ret |= item->refcount() != 0;
ret |= item->idx != -1;
+ delete cache;
+
return ret;
}