[xml] use of xmlXPathFreeNodeSet ?
- From: "Sagaert Johan" <sagaert johan skynet be>
- To: <xml gnome org>
- Subject: [xml] use of xmlXPathFreeNodeSet ?
- Date: Mon, 17 Jun 2013 19:19:17 +0200
Hi
I have run an xpath search on an xmldocument.
Afterwards I call xmlXPathFreeContext and xmlXPathFreeNodeSet to release resources.
Should I call xmlfree on the nodes found in this nodeset before I use xmlXPathFreeNodeSet ?
Or are the nodes in the nodeset just pointers to existing nodes from my xml document and should I leave them
as is since
I still need my xml document further in my program.
I am having some memory leaks in my program that I want to track ...
Regards
Sagaert Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]