updated libxml2 to 2.5.10
[TestXSLT.git] / libxml2 / c14n.c
index cd410cc..89589ca 100644 (file)
@@ -1854,7 +1854,7 @@ xmlC11NNormalizeString(const xmlChar * input,
      * allocate an translation buffer.
      */
     buffer_size = 1000;
-    buffer = (xmlChar *) xmlMalloc(buffer_size * sizeof(xmlChar));
+    buffer = (xmlChar *) xmlMallocAtomic(buffer_size * sizeof(xmlChar));
     if (buffer == NULL) {
         xmlGenericError(xmlGenericErrorContext, "malloc failed");
         return (NULL);