mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
Sep 3 21:14:19 MDT 2002 John Fleck <jfleck@inkstain.net>
Sep 3 21:14:19 MDT 2002 John Fleck <jfleck@inkstain.net> * doc/tutorial/includekeyword.c * doc/tutorial/xmltutorial.xml (plus resulting generated html files) fixing one spot I missed in the tutorial where I hadn't freed memory properly
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
Tue Sep 3 21:14:19 MDT 2002 John Fleck <jfleck@inkstain.net>
|
||||
|
||||
* doc/tutorial/includekeyword.c
|
||||
* doc/tutorial/xmltutorial.xml
|
||||
(plus resulting generated html files)
|
||||
fixing one spot I missed in the tutorial where I hadn't freed
|
||||
memory properly
|
||||
|
||||
Sat Aug 31 19:31:17 MDT 2002 John Fleck <jfleck@inkstain.net>
|
||||
|
||||
* doc/tutorial/includeaddattribute.c
|
||||
|
@ -30,6 +30,7 @@ parseDoc(char *docname) {
|
||||
|
||||
if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
<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;
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,7 @@ parseDoc(char *docname) {
|
||||
|
||||
if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -132,6 +132,7 @@
|
||||
|
||||
<co id="checkparseerror" /> if (doc == NULL ) {
|
||||
fprintf(stderr,"Document not parsed successfully. \n");
|
||||
xmlFreeDoc(doc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user