STR-3174: Release context after execution

git-svn-id: https://svn.apache.org/repos/asf/struts/struts1/trunk@727914 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java b/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java
index aa4a41c..5cc308f 100644
--- a/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java
+++ b/core/src/main/java/org/apache/struts/chain/ComposableRequestProcessor.java
@@ -284,10 +284,12 @@
         } catch (Exception e) {
             // Execute the exception processing chain??
             throw new ServletException(e);
+        } finally {
+            // Release the context.
+            if (context != null) {
+                context.release();
+            }
         }
-
-        // Release the context.
-        context.release();
     }
 
     /**