[xml] Runtime error in xpath1.c example
- From: Manuel González Castro <iinmgc00 ucv udc es>
- To: <xml gnome org>
- Subject: [xml] Runtime error in xpath1.c example
- Date: Mon, 12 Jan 2004 18:54:49 +0100
Hi,
I get a runtime error in the example "xpath1.c" whenever I provide a namespace list as 3rd argument (last CVS
under Windows 2000+MS VC++ 6.0).
I think the problem is in line #185:
line #140: xmlChar* nsListDup;
line #148: nsListDup = xmlStrdup(nsList);
line #185: free(nsListDup);
^^^^
It should be:
line #185: xmlFree(nsListDup);
At least this modification solves the problem in my platform.
Thanks for all the examples, they are really useful.
Manuel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]