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

On Thu, Jan 22, 2004 at 01:25:44PM -0800, Aleksey Sanin wrote:
hum ... HTML only mail ? 
Ups, sorry. One more time.


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?

  Yes, go for it, please commit,


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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