[xml] mem leak in xmlsoft.org tutorial
- From: sKaBoy <ognibene antek it>
- To: xml gnome org
- Subject: [xml] mem leak in xmlsoft.org tutorial
- Date: Thu, 12 Aug 2004 09:07:12 +0000 (UTC)
Hi!
I think there are two memory leak in function getnodeset at
http://www.xmlsoft.org/tutorial/apd.html
If if(xmlXPathNodeSetIsEmpty(result->nodesetval)) is TRUE then we should do:
xmlXPathFreeContext (context);
xmlXPathFreeObject (result);
sorry for writing in this mailing list but i've not found the email of the
tutorial's author :/
bye
p.s. = keep up your good work!!!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]