 -		$(INSTALL_ROOT_DIR)/$(GNUSTEP_MAKEFILES)/wobundle.make
 -endif
 +		$(DESTDIR)/$(GNUSTEP_MAKEFILES)/wobundle.make
+Index: sope-appserver/NGObjWeb/WOMessage+XML.m
+===================================================================
+--- sope-appserver/NGObjWeb/WOMessage+XML.m	(revision 1660)
++++ sope-appserver/NGObjWeb/WOMessage+XML.m	(working copy)
+@@ -84,7 +84,7 @@
+     id builder;
+     
+     builder = [[[NSClassFromString(@"DOMSaxBuilder") alloc] init] autorelease];
+-    dom = [[builder buildFromData:data] retain];
++    dom = [builder buildFromData:data];
+   }
+   
+   /* cache DOM structure */
 Index: sope-appserver/NGObjWeb/ChangeLog
 ===================================================================
 --- sope-appserver/NGObjWeb/ChangeLog	(revision 1660)
 +++ sope-appserver/NGObjWeb/ChangeLog	(working copy)
-@@ -1,3 +1,28 @@
+@@ -1,3 +1,33 @@
++2009-10-26  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
++
++	* WOMessage+XML.m (-contentAsDOMDocument): do not retain "dom" as
++	it will be assigned to self->domCache, to avoid a leak.
++
 +2009-10-21  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
 +
 +	* WebDAV/SoObjectResultEntry.m (-valueForKey:): we now take

 2009-04-02  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
 
 	* NGLdapConnection.m (useSSL,startTLS): new method enabling
Index: sope-mime/NGImap4/NGImap4Functions.m
===================================================================
--- sope-mime/NGImap4/NGImap4Functions.m	(revision 1660)

   }
   return data;
 }
Index: sope-core/NGExtensions/NGExtensions/NSString+Ext.h
===================================================================
--- sope-core/NGExtensions/NGExtensions/NSString+Ext.h	(revision 1660)
