    /* do not rewrite pure fragment URLs */
    if (r.length > 0 && [_s characterAtIndex:0] == '#')
      return NO;
+Index: sope-appserver/NGObjWeb/DynamicElements/WOConditional.m
+===================================================================
+--- sope-appserver/NGObjWeb/DynamicElements/WOConditional.m	(revision 1664)
++++ sope-appserver/NGObjWeb/DynamicElements/WOConditional.m	(working copy)
+@@ -121,6 +121,7 @@
+     
+     children = [_builder buildNodes:[_element childNodes]
+                          templateBuilder:_builder];
++    [children autorelease];
+   }
+   else
+     children = nil;
+Index: sope-appserver/NGObjWeb/DynamicElements/WOString.m
+===================================================================
+--- sope-appserver/NGObjWeb/DynamicElements/WOString.m	(revision 1664)
++++ sope-appserver/NGObjWeb/DynamicElements/WOString.m	(working copy)
+@@ -235,6 +235,8 @@
+     
+     doEscape = (aescape != nil) ? [aescape boolValueInComponent:nil] : YES;
+     self = [self initWithValue:avalue escapeHTML:doEscape];
++    [avalue release];
++    [aescape release];
+   }
+   return self;
+ }
+@@ -357,6 +359,8 @@
+     
+     doEscape = (aescape != nil) ? [aescape boolValueInComponent:nil] : YES;
+     self = [self initWithValue:avalue escapeHTML:doEscape];
++    [avalue release];
++    [aescape release];
+   }
+   return self;
+ }
+Index: sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m
+===================================================================
+--- sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m	(revision 1664)
++++ sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m	(working copy)
+@@ -223,6 +223,7 @@
+   children = [_element hasChildNodes]
+     ? [_b buildNodes:[_element childNodes] templateBuilder:_b]
+     : (NSArray *)nil;
++  [children autorelease];
+ 
+   if ((count = [children count]) == 0)
+     return nil;
+@@ -231,7 +232,7 @@
+     return [[children objectAtIndex:0] retain];
+   
+   return [[WOCompoundElement allocForCount:count 
+-			     zone:NULL] initWithContentElements:children];
++                                       zone:NULL] initWithContentElements:children];
+ }
+ 
+ - (WOElement *)buildElement:(id<DOMElement>)_element templateBuilder:(id)_b {
+Index: sope-appserver/NGObjWeb/DynamicElements/_WOTemporaryHyperlink.m
+===================================================================
+--- sope-appserver/NGObjWeb/DynamicElements/_WOTemporaryHyperlink.m	(revision 1664)
++++ sope-appserver/NGObjWeb/DynamicElements/_WOTemporaryHyperlink.m	(working copy)
+@@ -135,6 +135,7 @@
+     template = [[WOCompoundElement allocForCount:[_contents count]
+                                    zone:[self zone]]
+                                    initWithContentElements:_contents];
++    [template autorelease];
+   }
+   
+   return [self initWithName:_name
 Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h
 ===================================================================
 --- sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h	(revision 1664)

   }
   
   return [self initWithName:_name
Index: sope-appserver/NGObjWeb/WOHTTPConnection.m
===================================================================
--- sope-appserver/NGObjWeb/WOHTTPConnection.m	(revision 1664)

   
   self->rest = _config;
   
Index: sope-appserver/NGObjWeb/DynamicElements/WOGenericElement.m
===================================================================
--- sope-appserver/NGObjWeb/DynamicElements/WOGenericElement.m	(revision 1664)
+++ sope-appserver/NGObjWeb/DynamicElements/WOGenericElement.m	(working copy)
@@ -74,6 +74,7 @@
   children = [_element hasChildNodes]
     ? [_builder buildNodes:[_element childNodes] templateBuilder:_builder]
     : (NSArray *)nil;
+  [children autorelease];
   
   /* construct self ... */
   self = [(WODynamicElement *)self initWithName:name 
Index: sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m
===================================================================
--- sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m	(revision 1664)
