[xml] xmlReallocLoc() does not accept NULL as first parameter



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
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]