Re: [libvirt] [PATCH] Fix memory leak in virsh

2010-12-22 Thread Hu Tao
On Wed, Dec 22, 2010 at 08:48:37AM -0700, Eric Blake wrote: > On 12/22/2010 12:12 AM, Hu Tao wrote: > > --- > > tools/virsh.c |4 +++- > > 1 files changed, 3 insertions(+), 1 deletions(-) > > > > diff --git a/tools/virsh.c b/tools/virsh.c > > index 4e37f2d..8c123bb 100644 > > --- a/tools/virs

Re: [libvirt] [PATCH] Fix memory leak in virsh

2010-12-22 Thread Eric Blake
On 12/22/2010 12:12 AM, Hu Tao wrote: > --- > tools/virsh.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/tools/virsh.c b/tools/virsh.c > index 4e37f2d..8c123bb 100644 > --- a/tools/virsh.c > +++ b/tools/virsh.c > @@ -10935,8 +10935,10 @@ vshCommandParse(vshCont

[libvirt] [PATCH] Fix memory leak in virsh

2010-12-21 Thread Hu Tao
--- tools/virsh.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 4e37f2d..8c123bb 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -10935,8 +10935,10 @@ vshCommandParse(vshControl *ctl, vshCommandParser *parser) if (