You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "maskit (via GitHub)" <gi...@apache.org> on 2023/09/01 21:08:58 UTC
[GitHub] [trafficserver] maskit opened a new issue, #10353: CID 1518581: Resource leak in object
maskit opened a new issue, #10353:
URL: https://github.com/apache/trafficserver/issues/10353
CacheScan.h
```
45public:
46 CacheScan(Stripe *str, swoc::file::path const &path) : stripe(str)
47 {
1. Condition !path->empty(), taking true branch.
48 if (!path.empty()) {
CID 1518581 (#1 of 1): Resource leak in object (CTOR_DTOR_LEAK)
2. alloc_new: Allocating memory by calling new url_matcher(path).
3. assign: Assigning: this->u_matcher = new url_matcher(path).
4. ctor_dtor_leak: The constructor allocates field u_matcher of ct::CacheScan but there is no destructor.
49 u_matcher = new url_matcher(path);
50 }
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CID 1518581: Resource leak in object [trafficserver]
Posted by "maskit (via GitHub)" <gi...@apache.org>.
maskit closed issue #10353: CID 1518581: Resource leak in object
URL: https://github.com/apache/trafficserver/issues/10353
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org