From 561909b31133cd17ba69cfba86efcb2ec27a9813 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 29 Aug 2001 21:00:50 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ doc/tutorial/libxslt_tutorial.c | 2 ++ doc/tutorial/libxslttutorial.html | 2 ++ doc/tutorial/libxslttutorial.xml | 2 +- tests/documents/Makefile.am | 3 ++- 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61a630ab..6274de15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Aug 29 22:58:58 CEST 2001 Daniel Veillard + + * 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 + Wed Aug 29 15:32:52 CEST 2001 Thomas Broyer * libexslt/common.c: fixed a bug in exsltNodeSetFunction 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 + diff --git a/tests/documents/Makefile.am b/tests/documents/Makefile.am index 759def74..7777e0cf 100644 --- a/tests/documents/Makefile.am +++ b/tests/documents/Makefile.am @@ -6,7 +6,8 @@ $(top_builddir)/xsltproc/xsltproc: EXTRA_DIST = bredfort.css index.xml system.xml \ bredfort.xsl menu.xml worklog.xml \ result.xhtml docfile.xml doc\ file.xml \ - test.xml test.xsl test.result + test.xml test.xsl test.result \ + message.xml message.xsl message.result all: test