Bug 56908

Summary: Resource Leaks found by CID 45133
Product: Tomcat 8 Reporter: Felix Schumacher <felix.schumacher>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: All   
OS: All   
Attachments: Add try-with block to prevent leakage of jar-resource

Description Felix Schumacher 2014-09-03 19:46:23 UTC
Created attachment 31961 [details]
Add try-with block to prevent leakage of jar-resource

Prevent resource leak identified by Coverity Scan ID 45133 by adding a try-with block.
Comment 1 Violeta Georgieva 2014-09-03 20:44:34 UTC
Thanks for the patch. 
This has been fixed in trunk for 8.0.13 and in 7.0.x for 7.0.56 onwards.