[libvirt] [PATCH v3 02/30] qemuDomainGetHostdevPath: Use more g_autoptr()/g_autofree
Cole Robinson
crobinso at redhat.com
Mon Dec 9 22:35:47 UTC 2019
On 12/2/19 9:26 AM, 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 <mprivozn at redhat.com>
> ---
> src/qemu/qemu_domain.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
Reviewed-by: Cole Robinson <crobinso at redhat.com>
- Cole
More information about the libvir-list
mailing list