diff --git a/doc/reference.html b/doc/reference.html index 6101abe..f200b5d 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -1151,7 +1151,7 @@ mxmlWalkPrev(

mxml_attr_s


Description

-

Data types...

+

An XML element attribute value.

Definition

 struct mxml_attr_s
@@ -1298,7 +1298,7 @@ struct mxml_value_s
 

mxml_attr_t


Description

-

Data types...

+

An XML element attribute value.

Definition

 typedef struct mxml_attr_s mxml_attr_t;
diff --git a/mxml.xml b/mxml.xml
index 32564b9..edeea2a 100644
--- a/mxml.xml
+++ b/mxml.xml
@@ -811,7 +811,7 @@ the walk to the node's children.
     
   
   
-    Data types...
+    An XML element attribute value.
     
       char *
       Attribute name
@@ -823,7 +823,7 @@ the walk to the node's children.
   
   
     struct mxml_attr_s
-    Data types...
+    An XML element attribute value.
   
   
     An XML custom value.
diff --git a/mxmldoc.c b/mxmldoc.c
index 3fbd896..93d3ffd 100644
--- a/mxmldoc.c
+++ b/mxmldoc.c
@@ -891,6 +891,8 @@ scan_file(const char  *filename,	/* I - Filename */
 		  mxmlDelete(type);
 		  type = NULL;
 		}
+
+		typedefnode = NULL;
 		break;
 
 	    case ':' :
diff --git a/test/dotest.sh b/test/dotest.sh
index 2d94b15..c84c677 100755
--- a/test/dotest.sh
+++ b/test/dotest.sh
@@ -7,6 +7,7 @@ else
 fi
 
 rm -f test.xml
-valgrind --logfile-fd=3 --leak-check=yes ../mxmldoc test.xml \
-	$files >test.html 2>test.log 3>test.valgrind
+../mxmldoc test.xml $files >test.html 2>test.log
+#valgrind --logfile-fd=3 --leak-check=yes ../mxmldoc test.xml \
+#	$files >test.html 2>test.log 3>test.valgrind