Correctly handle malloc/realloc(0)
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 29 May 2009 14:30:57 +0000 (15:30 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 29 May 2009 14:30:57 +0000 (15:30 +0100)
commitafa6f05e2e0d784250ab6408ff13152920d74495
tree7e8098d439f1d016fa36dcc3b41bd5d6f1d93a92
parent80c5acfd148ede4ec1ca2dc2330b043b0cea29d5
Correctly handle malloc/realloc(0)
 - malloc and realloc(0) are valid requests.  Some implementations
   may return NULL for these, which would not indicate an error.
src/guestfs.c