maskit opened a new issue, #10201:
URL: https://github.com/apache/trafficserver/issues/10201

   ```
   495TSReturnCode
   496TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf 
ATS_UNUSED */, int /* errbuf_size ATS_UNUSED */)
   497{
   498  TSDebug(PLUGIN_NAME, "New instance for client matching %s to %s", 
argv[0], argv[1]);
        1. alloc_fn: Storage is returned from allocation function operator new.
        2. var_assign: Assigning: pri = storage returned from new 
ja3_remap_info.
   499  ja3_remap_info *pri = new ja3_remap_info;
   500
   501  // Parse parameters
        3. Condition !read_config_option(argc - 1, const_cast<char const 
**>(argv + 1), pri->raw, pri->log), taking true branch.
   502  if (!read_config_option(argc - 1, const_cast<const char **>(argv + 1), 
pri->raw, pri->log)) {
   503    TSDebug(PLUGIN_NAME, "TSRemapNewInstance(): Bad arguments");
        
   CID 1508991 (#1 of 1): Resource leak (RESOURCE_LEAK)
   4. leaked_storage: Variable pri going out of scope leaks the storage it 
points to.
   504    return TS_ERROR;
   505  }
   ```


-- 
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