diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-08-29 21:00:50 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-08-29 21:00:50 +0000 |
commit | 561909b31133cd17ba69cfba86efcb2ec27a9813 (patch) | |
tree | 2fed8c69e26105e8f537f9b2d85c13f3a9b2b3ff /doc/tutorial | |
parent | 1991eb6c489d999b7146aae43d4bbe3155cda7b6 (diff) | |
download | libxslt-561909b31133cd17ba69cfba86efcb2ec27a9813.tar.gz libxslt-561909b31133cd17ba69cfba86efcb2ec27a9813.tar.bz2 libxslt-561909b31133cd17ba69cfba86efcb2ec27a9813.zip |
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
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/libxslt_tutorial.c | 2 | ||||
-rw-r--r-- | doc/tutorial/libxslttutorial.html | 2 | ||||
-rw-r--r-- | doc/tutorial/libxslttutorial.xml | 2 |
3 files changed, 5 insertions, 1 deletions
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); </para> </appendix> -</article>
\ No newline at end of file +</article> |