Re: [libvirt] [PATCH] lxc_container.c: avoid a leak on error paths

2009-09-04 Thread Jim Meyering
Daniel Veillard wrote: > On Fri, Sep 04, 2009 at 04:15:20PM +0200, Jim Meyering wrote: >> This started with a dead-store report: >> >> File:lxc_container.c >> Location:line 417, column 10 >> Description: Although the value stored to 'rc' is used in the >>

Re: [libvirt] [PATCH] lxc_container.c: avoid a leak on error paths

2009-09-04 Thread Daniel Veillard
On Fri, Sep 04, 2009 at 04:15:20PM +0200, Jim Meyering wrote: > This started with a dead-store report: > > File: lxc_container.c > Location: line 417, column 10 > Description: Although the value stored to 'rc' is used in the > enclosing expression, th

[libvirt] [PATCH] lxc_container.c: avoid a leak on error paths

2009-09-04 Thread Jim Meyering
This started with a dead-store report: File: lxc_container.c Location: line 417, column 10 Description:Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' But there was a leak, too,