On Mon, Nov 21, 2005 at 06:51:02AM -0800, [EMAIL PROTECTED] 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/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to