Re: [libvirt] [PATCH] virpcitest: fix coverity issues

2014-02-07 Thread Ján Tomko
On 02/06/2014 05:36 PM, Pavel Hrdina wrote: > On 6.2.2014 16:48, Eric Blake wrote: >> On 02/06/2014 08:18 AM, Pavel Hrdina wrote: >>> diff --git a/tests/virpcitest.c b/tests/virpcitest.c >>> index 994b300..8ff3b1d 100644 >>> --- a/tests/virpcitest.c >>> +++ b/tests/virpcitest.c >>> @@ -248,6 +248,7

Re: [libvirt] [PATCH] virpcitest: fix coverity issues

2014-02-06 Thread Pavel Hrdina
On 6.2.2014 16:48, Eric Blake wrote: On 02/06/2014 08:18 AM, Pavel Hrdina wrote: The coverity server complains about the dev->stubDriver that it was freed by the virPCIDeviceSetStubDriver function, but it somehow don't get the fact that into the variable is immediately assigned new string. Sign

Re: [libvirt] [PATCH] virpcitest: fix coverity issues

2014-02-06 Thread Eric Blake
On 02/06/2014 08:18 AM, Pavel Hrdina wrote: > The coverity server complains about the dev->stubDriver that it was > freed by the virPCIDeviceSetStubDriver function, but it somehow don't > get the fact that into the variable is immediately assigned new string. > > Signed-off-by: Pavel Hrdina > ---

[libvirt] [PATCH] virpcitest: fix coverity issues

2014-02-06 Thread Pavel Hrdina
The coverity server complains about the dev->stubDriver that it was freed by the virPCIDeviceSetStubDriver function, but it somehow don't get the fact that into the variable is immediately assigned new string. Signed-off-by: Pavel Hrdina --- tests/virpcitest.c | 2 ++ 1 file changed, 2 insertion