found and fixed a bug misallocating some non blank text node strings from

* SAX2.c: found and fixed a bug misallocating some non
  blank text node strings from the dictionnary.
* xmlmemory.c: fixed a problem with the memory debug mutex
  release.
Daniel
diff --git a/SAX2.c b/SAX2.c
index 0ec19ca..d27d574 100644
--- a/SAX2.c
+++ b/SAX2.c
@@ -1670,7 +1670,7 @@
 	    int i;
 
 	    for (i = 1;i < len;i++) {
-		if (!IS_BLANK_CH(*str)) goto skip;
+		if (!IS_BLANK_CH(str[i])) goto skip;
 	    }
 	    intern = xmlDictLookup(ctxt->dict, str, len);
 	}