mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-31 06:50:06 +03:00
fixed #101894 if doc == NULL xmlFreeDoc should not be called. Daniel
* doc/tutorial/* : fixed #101894 if doc == NULL xmlFreeDoc should not be called. Daniel
This commit is contained in:
parent
0aaaacdb43
commit
e0ed10cb0f
@ -1,3 +1,8 @@
|
||||
Mon Jan 6 12:05:12 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* doc/tutorial/* : fixed #101894 if doc == NULL xmlFreeDoc
|
||||
should not be called.
|
||||
|
||||
Mon Jan 6 11:59:09 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxml-2.0.pc.in: applied the patch to fix #101894
|
||||
|
@ -24,7 +24,6 @@ parseDoc(char *docname, char *keyword) {
|
||||
|
||||
if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,6 @@ parseDoc(char *docname, char *keyword) {
|
||||
|
||||
if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,6 @@
|
||||
|
||||
<co id="checkparseerror" /> if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user