Skip to content

Commit

Permalink
Coverity 1523638: Resource leak in object in cache test for RWW (#11353)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancall committed May 16, 2024
1 parent 7220d70 commit fbd89ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/iocore/cache/unit_tests/test_RWW.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ class CacheRWWTest : public CacheTestHandler

SET_HANDLER(&CacheRWWTest::start_test);
}
~CacheRWWTest() override
{
delete this->_rt;
delete this->_wt;
}

void handle_cache_event(int event, CacheTestBase *e) override;
int start_test(int event, void *e);
Expand Down

0 comments on commit fbd89ba

Please sign in to comment.