Re: [libvirt] [PATCH 1/3] qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo

2016-12-09 Thread John Ferlan
On 12/09/2016 02:27 AM, Nikolay Shirokovskiy wrote: > > > On 08.12.2016 19:38, John Ferlan wrote: >> >> >> On 11/24/2016 04:19 AM, Nikolay Shirokovskiy wrote: >>> In case of 0 filesystems *info is not set while according >>> to virDomainGetFSInfo contract user should call free on it even >>>

Re: [libvirt] [PATCH 1/3] qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo

2016-12-08 Thread Nikolay Shirokovskiy
On 08.12.2016 19:38, John Ferlan wrote: > > > On 11/24/2016 04:19 AM, Nikolay Shirokovskiy wrote: >> In case of 0 filesystems *info is not set while according >> to virDomainGetFSInfo contract user should call free on it even >> in case of 0 filesystems. Thus we need to properly set >> it.

Re: [libvirt] [PATCH 1/3] qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo

2016-12-08 Thread John Ferlan
On 11/24/2016 04:19 AM, Nikolay Shirokovskiy wrote: > In case of 0 filesystems *info is not set while according > to virDomainGetFSInfo contract user should call free on it even > in case of 0 filesystems. Thus we need to properly set > it. NULL will be enough as free eats NULLs ok. > --- >

[libvirt] [PATCH 1/3] qemu: agent: fix uninitialized var case in qemuAgentGetFSInfo

2016-11-24 Thread Nikolay Shirokovskiy
In case of 0 filesystems *info is not set while according to virDomainGetFSInfo contract user should call free on it even in case of 0 filesystems. Thus we need to properly set it. NULL will be enough as free eats NULLs ok. --- src/qemu/qemu_agent.c | 1 + 1 file changed, 1 insertion(+) diff