Re: [libvirt-python PATCHv2 44/44] Simplify out of memory error case

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

 



On Tue, Nov 19, 2013 at 1:36 PM, Doug Goldstein <cardoe@xxxxxxxxxx> wrote:
> ---
>  libvirt-override.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libvirt-override.c b/libvirt-override.c
> index 0464f49..570918c 100644
> --- a/libvirt-override.c
> +++ b/libvirt-override.c
> @@ -167,8 +167,7 @@ setPyVirTypedParameter(PyObject *info,
>      }
>
>      if (VIR_ALLOC_N(ret, size) < 0) {
> -        PyErr_NoMemory();
> -        return NULL;
> +        return PyErr_NoMemory();
>      }
>
>      temp = &ret[0];
> --
> 1.8.3.2
>

This wasn't meant to be part of this series. It was from a comment
Eric made on one of the patches that should be a separate change.

-- 
Doug Goldstein

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]