- Original Message -
> On 02/20/2014 02:29 AM, Jincheng Miao wrote:
> > When start a guest with --pass-fd, if the argument of --pass-fd is invalid,
> > virsh will exit, but doesn't free the variable 'dom'.
> >
>
> > +++ b/tools/virsh-domain.c
> > @@ -3428,11 +3428,11 @@ cmdStart(vshContro
On 02/20/2014 02:29 AM, Jincheng Miao wrote:
> When start a guest with --pass-fd, if the argument of --pass-fd is invalid,
> virsh will exit, but doesn't free the variable 'dom'.
>
> +++ b/tools/virsh-domain.c
> @@ -3428,11 +3428,11 @@ cmdStart(vshControl *ctl, const vshCmd *cmd)
> if (virDo
When start a guest with --pass-fd, if the argument of --pass-fd is invalid,
virsh will exit, but doesn't free the variable 'dom'.
The valgrind said:
...
==24569== 63 (56 direct, 7 indirect) bytes in 1 blocks are definitely lost in
loss record 130 of 234
==24569==at 0x4C2A1D4: calloc (in
/usr