On 06/03/2014 07:10 AM, Kevin Wolf wrote: > This function returns NULL instead of aborting when an allocation fails. > > Signed-off-by: Kevin Wolf > --- > block.c | 13 +++++++++++++ > include/block/block.h | 1 + > include/qemu/osdep.h | 1 + > util/oslib-posix.c | 16 ++++++++++------ > util/oslib-win32.c | 9 +++++++-- > 5 files changed, 32 insertions(+), 8 deletions(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org