Re: [libvirt] [PATCH v2 10/39] qemuDomainGetHostdevPath: Use more VIR_AUTOFREE/VIR_AUTOPTR

2019-10-17 Thread Cole Robinson
On 9/26/19 12:12 PM, Michal Privoznik wrote: > There are several variables which could be automatically freed > upon return from the function. I'm not changing @tmpPaths (which > is a string list) because it is going to be removed in next > commit. > > Signed-off-by: Michal Privoznik > --- >

[libvirt] [PATCH v2 10/39] qemuDomainGetHostdevPath: Use more VIR_AUTOFREE/VIR_AUTOPTR

2019-09-26 Thread Michal Privoznik
There are several variables which could be automatically freed upon return from the function. I'm not changing @tmpPaths (which is a string list) because it is going to be removed in next commit. Signed-off-by: Michal Privoznik --- src/qemu/qemu_domain.c | 18 ++ 1 file changed,