[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 2/2] qemu: clean up OOM checks



On 07/08/2011 09:13 AM, Michael Santos wrote:
> ---
>  src/qemu/qemu_command.c |   40 ++++++++++++++++++++--------------------
>  1 files changed, 20 insertions(+), 20 deletions(-)
> 
> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
> index 6e4480e..19151ce 100644
> --- a/src/qemu/qemu_command.c
> +++ b/src/qemu/qemu_command.c
> @@ -5712,6 +5712,9 @@ qemuParseCommandLineCPU(virDomainDefPtr dom,
>              else
>                  feature = strdup(p);
>  
> +            if (!feature)
> +                goto no_memory;
> +

ACK and pushed.  I added your name to AUTHORS, let me know if I need to
adjust any spelling.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]