From 5aac4e490df7e8a71c168b3eb80b401e3e418577 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 15 Aug 2001 20:46:57 +0000 Subject: add xmlCleanupParser() before leaving Daniel * example/gjobread.c: add xmlCleanupParser() before leaving Daniel --- example/gjobread.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example') diff --git a/example/gjobread.c b/example/gjobread.c index fd83c13c..599ece8b 100644 --- a/example/gjobread.c +++ b/example/gjobread.c @@ -290,5 +290,9 @@ int main(int argc, char **argv) { fprintf( stderr, "Error parsing file '%s'\n", argv[i]); } + + /* Clean up everything else before quitting. */ + xmlCleanupParser(); + return(0); } -- cgit v1.2.3