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-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to