zwoop opened a new issue, #10020: URL: https://github.com/apache/trafficserver/issues/10020
``` *** CID 1513224: Resource leaks (RESOURCE_LEAK) /src/traffic_server/[traffic_server.cc](http://traffic_server.cc/): 1006 in load_plugin(plugin_type_t, const swoc::_1_5_1::file::path &, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> &)() 1000 static bool 1001 load_plugin(plugin_type_t plugin_type, const fs::path &plugin_path, std::string &error) 1002 { 1003 switch (plugin_type) { 1004 case plugin_type_t::GLOBAL: { 1005 void *handle, *initptr; CID 1513224: Resource leaks (RESOURCE_LEAK) Variable "handle" going out of scope leaks the storage it points to. 1006 return plugin_dso_load(plugin_path.c_str(), handle, initptr, error); 1007 } 1008 case plugin_type_t::REMAP: { 1009 auto temporary_directory = fs::temp_directory_path(); 1010 temporary_directory /= fs::path(std::string("verify_plugin_") + std::to_string(getpid())); 1011 std::error_code ec; ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
