On Wed, May 21, 2014 at 06:27:59PM +0200, Kevin Wolf wrote: > This function returns NULL instead of aborting when an allocation fails. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 5 +++++ > include/block/block.h | 1 + > include/qemu/osdep.h | 1 + > util/oslib-posix.c | 16 ++++++++++------ > util/oslib-win32.c | 9 +++++++-- > 5 files changed, 24 insertions(+), 8 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>