Bug 56908 - Resource Leaks found by CID 45133
Summary: Resource Leaks found by CID 45133
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 8.0.x-trunk
Hardware: All All
: P2 minor (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 19:46 UTC by Felix Schumacher
Modified: 2014-09-03 20:44 UTC (History)
0 users



Attachments
Add try-with block to prevent leakage of jar-resource (1.37 KB, patch)
2014-09-03 19:46 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.