
8 Feb
2013
8 Feb
'13
7:10 a.m.
On Fri, Feb 8, 2013 at 1:57 PM, Osier Yang <jyang@redhat.com> wrote: [...]
That's why I said in previous replyment "initialize ret", I mean this (see the top of the function):
int ret = -1;
And with setting "ret" to 0 before cleanup:
ret = 0; cleanup: virCommandFree(cmd); return ret;
Okay, it looks well for me. I will give another patch. Thanks for your help ;-) -- Thanks Harry Wei