Daniel,
xmlReallocLoc() returns NULL if the first parameter is NULL. In comparison,
realloc() function just allocates a new block of memory. The documentation
for xmlRealloc() says that it is "a realloc() equivalent" thus I wonder if it would
be possible to change the xmlReallocLoc() behaiviour?
Aleksey
|