Re: [libvirt] [PATCH 09/17] Fix leak in qemuParseCommandLineDisk on OOM

2013-09-27 Thread Doug Goldstein
On Wed, Sep 25, 2013 at 3:21 AM, Daniel P. Berrange wrote: > On Tue, Sep 24, 2013 at 04:24:43PM -0500, Doug Goldstein wrote: >> On Tue, Sep 24, 2013 at 11:03 AM, Daniel P. Berrange >> wrote: >> > From: "Daniel P. Berrange" >> > >> > If OOM occurs in qemuParseCommandLineDisk some intermediate >>

Re: [libvirt] [PATCH 09/17] Fix leak in qemuParseCommandLineDisk on OOM

2013-09-25 Thread Daniel P. Berrange
On Tue, Sep 24, 2013 at 04:24:43PM -0500, Doug Goldstein wrote: > On Tue, Sep 24, 2013 at 11:03 AM, Daniel P. Berrange > wrote: > > From: "Daniel P. Berrange" > > > > If OOM occurs in qemuParseCommandLineDisk some intermediate > > variables will be leaked when parsing Sheepdog or RBD disks. > > >

Re: [libvirt] [PATCH 09/17] Fix leak in qemuParseCommandLineDisk on OOM

2013-09-24 Thread Doug Goldstein
On Tue, Sep 24, 2013 at 11:03 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > If OOM occurs in qemuParseCommandLineDisk some intermediate > variables will be leaked when parsing Sheepdog or RBD disks. > > Signed-off-by: Daniel P. Berrange > --- > src/qemu/qemu_command.c | 17

[libvirt] [PATCH 09/17] Fix leak in qemuParseCommandLineDisk on OOM

2013-09-24 Thread Daniel P. Berrange
From: "Daniel P. Berrange" If OOM occurs in qemuParseCommandLineDisk some intermediate variables will be leaked when parsing Sheepdog or RBD disks. Signed-off-by: Daniel P. Berrange --- src/qemu/qemu_command.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git