had to fix generation and rebuild. the testapi found a bug in the last

* gentest.py testapi.c: had to fix generation and rebuild.
* valid.c: the testapi found a bug in the last code of course !
Daniel
diff --git a/gentest.py b/gentest.py
index 12dd718..c8e675d 100755
--- a/gentest.py
+++ b/gentest.py
@@ -231,6 +231,8 @@
               (ret_val != prefix) && (ret_val != memory))
               xmlFree(ret_val);
 	  ret_val = NULL;""",
+   "xmlNewDocElementContent":
+       """xmlFreeDocElementContent(doc, ret_val); ret_val = NULL;""",
    "xmlDictReference": "xmlDictFree(dict);",
    # Functions which deallocates one of their parameters
    "xmlXPathConvertBoolean": """val = NULL;""",