[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] [PATCH] test.c: Avoid segfault upon malloc failure, and plug a leak.
- From: Daniel Veillard <veillard redhat com>
- To: Jim Meyering <jim meyering net>
- Cc: Libvirt <libvir-list redhat com>
- Subject: Re: [Libvir] [PATCH] test.c: Avoid segfault upon malloc failure, and plug a leak.
- Date: Fri, 1 Feb 2008 09:54:12 -0500
On Wed, Jan 30, 2008 at 02:46:00PM +0100, Jim Meyering wrote:
> Testing exposed a tiny leak:
>
> $ valgrind --leak-check=full ./virsh --connect \
> test://$PWD/../docs/testnode.xml save fc4 /dev/null
[...]
> ---
> src/test.c | 9 ++++++++-
> 1 files changed, 8 insertions(+), 1 deletions(-)
>
Oops, right! +1
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]