Bug 56908 - Resource Leaks found by CID 45133
Resource Leaks found by CID 45133
Status: RESOLVED FIXED
Product: Tomcat 8
Classification: Unclassified
Component: Jasper
8.0.x-trunk
All All
: P2 minor (vote)
: ----
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
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.