Improve the error handling for custom tags to ensure that the tag is returned to the pool or released and destroyed once used.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1754113 13f79535-47bb-0310-9956-ffa450edef68
2 files changed