https://issues.apache.org/bugzilla/show_bug.cgi?id=56900
Bug ID: 56900 Summary: Resource Leaks found by CID 45266 and 45249 Product: Tomcat 8 Version: trunk Hardware: All OS: All Status: NEW Severity: minor Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: felix.schumac...@internetallee.de Created attachment 31953 --> https://issues.apache.org/bugzilla/attachment.cgi?id=31953&action=edit Close InputStream after use. Factor out common code into a private method. InputStreams are not closed after using them for loading the content into properties. This happens a few times in the code base and seems to be a common task. Maybe we should create a utility-method to capsulate that funtion. For DefaultInstanceManager I have created a private method. For ContextConfig I adapted to local logic only. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org