xmalloc: revert yesterday's regression
authorEric Blake <eblake@redhat.com>
Fri, 25 Mar 2011 16:45:39 +0000 (10:45 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 25 Mar 2011 16:45:39 +0000 (10:45 -0600)
commitac165f4522adce39e471f2dc4b3fc812f8c8892f
tree4cb2f332192fae0f11891edaf3340d8b7eb42db4
parentecfe2457598e535434706928c9be913030729bee
xmalloc: revert yesterday's regression

* lib/xmalloc.c (xrealloc): Once again forward xrealloc(NULL,0) to
realloc's underlying behavior (allowing allocation of zero-size
objects, especially if malloc-gnu is also in use).

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/xmalloc.c