 ===================================================================
 --- sope-appserver/NGObjWeb/ChangeLog	(revision 1664)
 +++ sope-appserver/NGObjWeb/ChangeLog	(working copy)
-@@ -1,3 +1,117 @@
+@@ -1,3 +1,157 @@
++2010-01-29  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
++
++	* Templates/WOxComponentElemBuilder.m
++	(-buildElement:tempateBuilder:): "children" (local) is the result
++	of a "buildXXX" method that we won't return, so we autorelease it
++	to avoid leaks.
++
++	* Templates/WOxTemplateBuilder.m (-buildTemplateAtURL): same as
++	below for "root".
++
++	* Templates/WOWrapperTemplateBuilder.m (-buildTemplateAtURL):
++	avoid a leak by releasing "rootElement" (local) when used.
++
++	* Templates/WOxElemBuilder.m (-buildNodes:templateBuilder:): the
++	"buildXXX" methods return retained objects all through NGObjWeb,
++	here too now.
++
++	* DynamicElements/_WOTemporaryHyperlink.m
++	(-initWithName:associations:contentElements:): same as below for
++	"template".
++
++	* DynamicElements/WOString.m
++	(-initWithName:associations:template:): "avalue" and "aescape" are
++	local variables and OWGetProperty always returns a retained
++	object. Therefore we want to release them after their use.
++
++	* DynamicElements/WOxHTMLElemBuilder.m
++	(-buildContainer:templateBuilder:): same as below.
++
++	* DynamicElements/WOConditional.m
++	(-initWithNegateElement:templateBuilder:): same as below.
++
++	* DynamicElements/WOGenericElement.m
++	(-initWithElement:templateBuilder:): "children" is retained when
++	returned from "buildNodesXX" but is not an ivar so we want to
++	autorelease that result to avoid leaks.
++
++	* WOComponentDefinition.m (-load): the "buildXX" methods already
++	return retained objects. We don't want to retain them once more.
++
 +2010-01-28  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
 +
 +	* WOHttpAdaptor/WOHttpAdaptor.m (-registerForEvents): the

 /* adaptors */
 
 - (NSArray *)adaptors;
Index: sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.h
===================================================================
--- sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.h	(revision 1664)

   }
   
   return [self initWithName:_name
@@ -362,6 +363,7 @@
     
     children = [_builder buildNodes:[_element childNodes]
                          templateBuilder:_builder];
+    [children autorelease];
   }
   else
     children = nil;
Index: sope-appserver/NGObjWeb/WOHTTPConnection.m
===================================================================
--- sope-appserver/NGObjWeb/WOHTTPConnection.m	(revision 1664)
