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/08/16 17:36:07 UTC
[GitHub] [trafficserver] maskit opened a new issue, #10194: CID 1518133: Resource leak
maskit opened a new issue, #10194:
URL: https://github.com/apache/trafficserver/issues/10194
```
998load_plugin(plugin_type_t plugin_type, const fs::path &plugin_path, std::string &error)
999{
1. Switch case value plugin_type_t::GLOBAL.
1000 switch (plugin_type) {
1001 case plugin_type_t::GLOBAL: {
1002 void *handle, *initptr;
2. alloc_arg: plugin_dso_load allocates memory that is stored into handle. [[show details](https://scan6.scan.coverity.com/eventId=34735375-2&modelId=34735375-0&fileInstanceId=162996269&filePath=%2Fproxy%2FPlugin.cc&fileStart=103&fileEnd=121)]
CID 1518133 (#1 of 1): Resource leak (RESOURCE_LEAK)
3. leaked_storage: Variable handle going out of scope leaks the storage it points to.
1003 return plugin_dso_load(plugin_path.c_str(), handle, initptr, error);
1004 }
```
Similar to https://github.com/apache/trafficserver/issues/10020.
--
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
[GitHub] [trafficserver] bneradt closed issue #10194: CID 1518133: Resource leak
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt closed issue #10194: CID 1518133: Resource leak
URL: https://github.com/apache/trafficserver/issues/10194
--
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
[GitHub] [trafficserver] bneradt commented on issue #10194: CID 1518133: Resource leak
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on issue #10194:
URL: https://github.com/apache/trafficserver/issues/10194#issuecomment-1734416862
Closing as a duplicate of #10020.
--
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