one more doc patch from Charlie Bozeman. Daniel
* xmlmemory.c: one more doc patch from Charlie Bozeman.
Daniel
diff --git a/ChangeLog b/ChangeLog
index ac1693d..d6def97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 1 17:48:56 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xmlmemory.c: one more doc patch from Charlie Bozeman.
+
Mon Dec 31 17:35:40 CET 2001 Daniel Veillard <daniel@veillard.com>
* DOCBparser.c parser.c valid.c include/libxml/parserInternals.h
diff --git a/xmlmemory.c b/xmlmemory.c
index e511570..e9ad74e 100644
--- a/xmlmemory.c
+++ b/xmlmemory.c
@@ -1,5 +1,5 @@
/*
- * memory.c: libxml memory allocator wrapper.
+ * xmlmemory.c: libxml memory allocator wrapper.
*
* daniel@veillard.com
*/
@@ -156,7 +156,7 @@
if (!p) {
xmlGenericError(xmlGenericErrorContext,
- "xmlMalloc : Out of free space\n");
+ "xmlMallocLoc : Out of free space\n");
xmlMemoryDump();
return(NULL);
}
@@ -333,7 +333,7 @@
error:
xmlGenericError(xmlGenericErrorContext,
- "xmlFree(%lX) error\n", (unsigned long) ptr);
+ "xmlMemFree(%lX) error\n", (unsigned long) ptr);
xmlMallocBreakpoint();
return;
}
@@ -346,7 +346,7 @@
*
* a strdup() equivalent, with logging of the allocation info.
*
- * Returns a pointer to the new string or NULL if allocation error occured.
+ * Returns a pointer to the new string or NULL if allocation error occurred.
*/
char *
@@ -403,7 +403,7 @@
*
* a strdup() equivalent, with logging of the allocation info.
*
- * Returns a pointer to the new string or NULL if allocation error occured.
+ * Returns a pointer to the new string or NULL if allocation error occurred.
*/
char *
@@ -414,7 +414,7 @@
/**
* xmlMemUsed:
*
- * returns the amount of memory currenly allocated
+ * returns the amount of memory currently allocated
*
* Returns an int representing the amount of memory allocated.
*/