On Tue, Aug 22, 2006 at 05:07:27PM +0900, YuChan Park wrote: > during running the program it comsume 8 or 4 bytes memory whenever call test > function included in blow code. ... > value = xmlGetProp( cur_node, key);
http://xmlsoft.org/html/libxml-tree.html#xmlGetProp Returns: the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree(). no amount of asking will ever replace reading the docs. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
