From 561909b31133cd17ba69cfba86efcb2ec27a9813 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 29 Aug 2001 21:00:50 +0000 Subject: added global variables cleanups to the example. mjcox pointed to some * doc/tutorial/libxslt_tutorial.c doc/tutorial/libxslttutorial.html doc/tutorial/libxslttutorial.xml: added global variables cleanups to the example. * tests/documents/Makefile.am: mjcox pointed to some missing files Daniel --- doc/tutorial/libxslt_tutorial.c | 2 ++ doc/tutorial/libxslttutorial.html | 2 ++ doc/tutorial/libxslttutorial.xml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/tutorial') diff --git a/doc/tutorial/libxslt_tutorial.c b/doc/tutorial/libxslt_tutorial.c index 02770efa..93563698 100644 --- a/doc/tutorial/libxslt_tutorial.c +++ b/doc/tutorial/libxslt_tutorial.c @@ -90,6 +90,8 @@ main(int argc, char **argv) { xmlFreeDoc(res); xmlFreeDoc(doc); + xsltCleanupGlobals(); + xmlCleanupParser(); return(0); } diff --git a/doc/tutorial/libxslttutorial.html b/doc/tutorial/libxslttutorial.html index d66be9fb..1e8bf7bb 100644 --- a/doc/tutorial/libxslttutorial.html +++ b/doc/tutorial/libxslttutorial.html @@ -409,6 +409,8 @@ main(int argc, char **argv) { xmlFreeDoc(res); xmlFreeDoc(doc); + xsltCleanupGlobals(); + xmlCleanupParser(); return(0); } diff --git a/doc/tutorial/libxslttutorial.xml b/doc/tutorial/libxslttutorial.xml index 1e299ff2..e996ca33 100644 --- a/doc/tutorial/libxslttutorial.xml +++ b/doc/tutorial/libxslttutorial.xml @@ -275,4 +275,4 @@ xsltSaveResultToFile(stdout, res, cur); - \ No newline at end of file + -- cgit v1.2.3