diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-01-06 11:06:26 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-01-06 11:06:26 +0000 |
commit | e0ed10cb0f7244f781f84ecf2b063d1a7deb2b63 (patch) | |
tree | d563f458edc9d89985eb8ce2d0a72d84f7d89b6d /doc/tutorial | |
parent | 0aaaacdb432dc8d28bc92df63adde811f96d8795 (diff) | |
download | libxml2-e0ed10cb0f7244f781f84ecf2b063d1a7deb2b63.tar.gz |
fixed #101894 if doc == NULL xmlFreeDoc should not be called. Daniel
* doc/tutorial/* : fixed #101894 if doc == NULL xmlFreeDoc
should not be called.
Daniel
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/apc.html | 1 | ||||
-rw-r--r-- | doc/tutorial/ar01s03.html | 1 | ||||
-rw-r--r-- | doc/tutorial/includeaddkeyword.c | 1 | ||||
-rw-r--r-- | doc/tutorial/xmltutorial.xml | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/doc/tutorial/apc.html b/doc/tutorial/apc.html index 667e9a9f..40468b24 100644 --- a/doc/tutorial/apc.html +++ b/doc/tutorial/apc.html @@ -24,7 +24,6 @@ parseDoc(char *docname, char *keyword) { if (doc == NULL ) { fprintf(stderr,"Document not parsed successfully. \n"); - xmlFreeDoc(doc); return (NULL); } diff --git a/doc/tutorial/ar01s03.html b/doc/tutorial/ar01s03.html index 9451175a..f5c831df 100644 --- a/doc/tutorial/ar01s03.html +++ b/doc/tutorial/ar01s03.html @@ -9,7 +9,6 @@ <a name="checkparseerror"></a><img src="images/callouts/4.png" alt="4" border="0"> if (doc == NULL ) { fprintf(stderr,"Document not parsed successfully. \n"); - xmlFreeDoc(doc); return; } diff --git a/doc/tutorial/includeaddkeyword.c b/doc/tutorial/includeaddkeyword.c index 479b53b4..975168d7 100644 --- a/doc/tutorial/includeaddkeyword.c +++ b/doc/tutorial/includeaddkeyword.c @@ -22,7 +22,6 @@ parseDoc(char *docname, char *keyword) { if (doc == NULL ) { fprintf(stderr,"Document not parsed successfully. \n"); - xmlFreeDoc(doc); return (NULL); } diff --git a/doc/tutorial/xmltutorial.xml b/doc/tutorial/xmltutorial.xml index ed27bd0c..5e1f7939 100644 --- a/doc/tutorial/xmltutorial.xml +++ b/doc/tutorial/xmltutorial.xml @@ -145,7 +145,6 @@ <co id="checkparseerror" /> if (doc == NULL ) { fprintf(stderr,"Document not parsed successfully. \n"); - xmlFreeDoc(doc); return; } |