Re: [xml] Help: memory leak ??
- From: Daniel Veillard <veillard redhat com>
- To: YuChan Park <diylinux gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Help: memory leak ??
- Date: Tue, 22 Aug 2006 05:57:54 -0400
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/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]