Fix qemu_realloc() (Kevin Wolf)
commit322691a5c9f1c8531554148d47c078b5be590805
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 21:00:32 +0000 (11 21:00 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 21:00:32 +0000 (11 21:00 +0000)
treedc110bb739fcc7a3f8e38380ed49cc7c09a8d14c
parent9c22bc63129720e0c1fe6e910b0425923c123a31
Fix qemu_realloc() (Kevin Wolf)

For qemu_realloc with size == 0 a result of NULL is perfectly fine

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6615 c046a42c-6fe2-441c-8c8c-71466251a162
qemu-malloc.c