[xmlsec] xmlDocDumpMemory()

Daniel Veillard veillard at redhat.com
Mon Nov 21 07:03:01 PST 2005


On Mon, Nov 21, 2005 at 06:51:02AM -0800, dk at pdx.edu wrote:
> 
> 
> I have few questions about xmlDocDumpMemory.
> If we pass a pointer to a memory location as destination, will xmlDocDumpMemory
> allocate memory space for that pointer and then copy it?

  Not related to xmlsec but to libxml2. There is a search engine for libxml2
API.
  http://xmlsoft.org/search.php?query=xmlDocDumpMemory

  mem:	OUT: the memory pointer

  It's up to the caller to free the memory with xmlFree().

clearly the function allocate the memory.
Nothing replaces reading the docs...

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



More information about the xmlsec mailing list