Re: [libvirt] [PATCH 2/8] Remove error checking after using vshMalloc.

2010-07-16 Thread Chris Lalancette
On 07/15/10 - 03:10:49PM, Matthias Bolte wrote: > 2010/7/8 Chris Lalancette : > > vshMalloc and friends always exit() on allocation failure, > > so there is no reason to do checking for NULL in the code > > that uses it. > > > > Signed-off-by: Chris Lalancette > > --- > > ACK. Thanks, pushed. -

Re: [libvirt] [PATCH 2/8] Remove error checking after using vshMalloc.

2010-07-15 Thread Matthias Bolte
2010/7/8 Chris Lalancette : > vshMalloc and friends always exit() on allocation failure, > so there is no reason to do checking for NULL in the code > that uses it. > > Signed-off-by: Chris Lalancette > --- ACK. Matthias -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/

[libvirt] [PATCH 2/8] Remove error checking after using vshMalloc.

2010-07-08 Thread Chris Lalancette
vshMalloc and friends always exit() on allocation failure, so there is no reason to do checking for NULL in the code that uses it. Signed-off-by: Chris Lalancette --- tools/virsh.c | 38 +- 1 files changed, 1 insertions(+), 37 deletions(-) diff --git a/tool