Skip to content

Commit

Permalink
Coverity: Fix for CID 1587263. (#11954)
Browse files Browse the repository at this point in the history
Add missing delete.
  • Loading branch information
brbzull0 authored Jan 15, 2025
1 parent 9f440c2 commit 33c2793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iocore/hostdb/test_RefCountCache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ testclear()
ret |= item->refcount() != 0;
ret |= item->idx != -1;

delete cache;

return ret;
}

Expand Down

0 comments on commit 33c2793

Please sign in to comment.