From 26908ab5804006b4d2d336ae63ed1c7c150cdf8c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 1 Jan 2002 16:50:03 +0000 Subject: [PATCH] one more doc patch from Charlie Bozeman. Daniel * xmlmemory.c: one more doc patch from Charlie Bozeman. Daniel --- ChangeLog | 4 ++++ xmlmemory.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac1693d4..d6def973 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 1 17:48:56 CET 2002 Daniel Veillard + + * xmlmemory.c: one more doc patch from Charlie Bozeman. + Mon Dec 31 17:35:40 CET 2001 Daniel Veillard * DOCBparser.c parser.c valid.c include/libxml/parserInternals.h diff --git a/xmlmemory.c b/xmlmemory.c index e5115702..e9ad74ed 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 @@ xmlMallocLoc(size_t size, const char * file, int line) if (!p) { xmlGenericError(xmlGenericErrorContext, - "xmlMalloc : Out of free space\n"); + "xmlMallocLoc : Out of free space\n"); xmlMemoryDump(); return(NULL); } @@ -333,7 +333,7 @@ xmlMemFree(void *ptr) error: xmlGenericError(xmlGenericErrorContext, - "xmlFree(%lX) error\n", (unsigned long) ptr); + "xmlMemFree(%lX) error\n", (unsigned long) ptr); xmlMallocBreakpoint(); return; } @@ -346,7 +346,7 @@ error: * * 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 @@ error: * * 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 @@ xmlMemoryStrdup(const char *str) { /** * xmlMemUsed: * - * returns the amount of memory currenly allocated + * returns the amount of memory currently allocated * * Returns an int representing the amount of memory allocated. */