diff options
author | Daniel Veillard <veillard@src.gnome.org> | 1999-12-12 13:03:50 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 1999-12-12 13:03:50 +0000 |
commit | 10a2c6532a409760cf46b70dba7b8d09617d75e3 (patch) | |
tree | 2a72e03baabd19628819699d764b5695f6ed0aa6 /xmlmemory.c | |
parent | 4a53eca27cb5f59a8d66141b9de6b0eee4c11690 (diff) | |
download | libxml2-10a2c6532a409760cf46b70dba7b8d09617d75e3.tar.gz |
Large commit of changes done while travelling to XML'99
- cleanups on memory use and parsers
- start of Link interfaces HTML and XLink
- rebuild the doc
- released as 1.8.0
Daniel
Diffstat (limited to 'xmlmemory.c')
-rw-r--r-- | xmlmemory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlmemory.c b/xmlmemory.c index d88fbb10..19150527 100644 --- a/xmlmemory.c +++ b/xmlmemory.c @@ -140,8 +140,9 @@ xmlMallocLoc(int size, const char * file, int line) p = (MEMHDR *) malloc(RESERVE_SIZE+size); if (!p) { - fprintf(stderr, "xmlMalloc : Out of free space\n"); - xmlMemoryDump(); + fprintf(stderr, "xmlMalloc : Out of free space\n"); + xmlMemoryDump(); + return(NULL); } p->mh_tag = MEMTAG; p->mh_number = ++block; |