You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2004/08/10 12:32:32 UTC

svn commit: rev 36171 - in cocoon/trunk/src/blocks: forms/java/org/apache/cocoon/forms/transformation woody/java/org/apache/cocoon/woody/transformation

Author: cziegeler
Date: Tue Aug 10 03:32:31 2004
New Revision: 36171

Modified:
   cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
   cocoon/trunk/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectWidgetReplacingPipe.java
Log:
Fix potential memory leak

Modified: cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java
==============================================================================
--- cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java	(original)
+++ cocoon/trunk/src/blocks/forms/java/org/apache/cocoon/forms/transformation/EffectWidgetReplacingPipe.java	Tue Aug 10 03:32:31 2004
@@ -58,7 +58,7 @@
  * <p>For more information about the supported tags and their function, see the user documentation
  * for the forms template transformer.</p>
  *
- * @version CVS $Id: EffectWidgetReplacingPipe.java,v 1.14 2004/05/26 01:31:06 joerg Exp $
+ * @version CVS $Id$
  */
 public class EffectWidgetReplacingPipe extends EffectPipe {
 
@@ -812,7 +812,8 @@
         super.recycle();
         this.contextWidget = null;
         this.widget = null;
-        widgetId = null;
+        this.widgetId = null;
+        this.pipeContext = null;
         this.namespacePrefix = null;
     }
 }

Modified: cocoon/trunk/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectWidgetReplacingPipe.java
==============================================================================
--- cocoon/trunk/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectWidgetReplacingPipe.java	(original)
+++ cocoon/trunk/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectWidgetReplacingPipe.java	Tue Aug 10 03:32:31 2004
@@ -57,7 +57,7 @@
  * for the woody template transformer.</p>
  *
  * @author Timothy Larson
- * @version CVS $Id: EffectWidgetReplacingPipe.java,v 1.13 2004/05/26 01:31:06 joerg Exp $
+ * @version CVS $Id$
  */
 public class EffectWidgetReplacingPipe extends EffectPipe {
 
@@ -802,7 +802,8 @@
         super.recycle();
         this.contextWidget = null;
         this.widget = null;
-        widgetId = null;
+        this.widgetId = null;
+        this.pipeContext = null;
         this.namespacePrefix = null;
     }
 }