diff --git a/src/xercesc/dom/impl/DOMWriterImpl.cpp b/src/xercesc/dom/impl/DOMWriterImpl.cpp
index 864b9ee5a38f16537ba9ce3c3fc23bc015205116..d550dfd32e6b02867636b37f6c768f99f1a68a75 100644
--- a/src/xercesc/dom/impl/DOMWriterImpl.cpp
+++ b/src/xercesc/dom/impl/DOMWriterImpl.cpp
@@ -57,6 +57,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.54  2004/07/06 15:16:57  amassari
+ * Fix for jira#1238: DOMWriter was creating an XMLFormatter without propagating the memory manager
+ *
  * Revision 1.53  2004/05/10 08:03:25  amassari
  * Performance: push a new map on the namespace stack only when an element has a xmlns attribute
  *
@@ -648,7 +651,8 @@ bool DOMWriterImpl::writeNode(XMLFormatTarget* const destination
                                      ,fDocumentVersion
                                      ,destination
                                      ,XMLFormatter::NoEscapes
-                                     ,XMLFormatter::UnRep_CharRef);
+                                     ,XMLFormatter::UnRep_CharRef
+                                     ,fMemoryManager);
     }
     catch (const TranscodingException& e)
     {