[libvirt] [PATCH 6/6] qemu_driver: use VIR_AUTOFREE() with strings 3/3

2019-09-18 Thread Daniel Henrique Barboza
VIR_AUTOFREE is a beautiful macro. Let's use it across the board inside qemu_driver.c to make the code a bit tidier and smaller, sparing VIR_FREE() calls and sometimes a whole 'cleanup' label. This is the last part of this change. Signed-off-by: Daniel Henrique Barboza --- src/qemu/qemu_driver.

Re: [libvirt] [PATCH 6/6] qemu_driver: use VIR_AUTOFREE() with strings 3/3

2019-09-26 Thread Erik Skultety
On Wed, Sep 18, 2019 at 11:56:58AM -0300, Daniel Henrique Barboza wrote: > VIR_AUTOFREE is a beautiful macro. Let's use it across the board > inside qemu_driver.c to make the code a bit tidier and smaller, > sparing VIR_FREE() calls and sometimes a whole 'cleanup' > label. > > This is the last part