Re: [libvirt] [PATCH 3/3] qemu_hotplug.c: use VIR_AUTOFREE() in strings 3/3

2019-09-23 Thread Erik Skultety
On Wed, Sep 18, 2019 at 04:53:08PM -0300, Daniel Henrique Barboza wrote: > Using VIR_AUTOFREE() spare us from calling VIR_VREE() and > sometimes a whole 'cleanup' label can be erased as well. > > There are quite a few strings in qemu_hotplug.c to be > auto-freed. This is the last part of this

[libvirt] [PATCH 3/3] qemu_hotplug.c: use VIR_AUTOFREE() in strings 3/3

2019-09-18 Thread Daniel Henrique Barboza
Using VIR_AUTOFREE() spare us from calling VIR_VREE() and sometimes a whole 'cleanup' label can be erased as well. There are quite a few strings in qemu_hotplug.c to be auto-freed. This is the last part of this change. Signed-off-by: Daniel Henrique Barboza --- src/qemu/qemu_hotplug.c | 93