Re: [libvirt] [PATCH 03/10] Use VIR_AUTODISPOSE_STR instead of VIR_DISPOSE_STRING where possible

2019-04-02 Thread Ján Tomko
On Mon, Apr 01, 2019 at 03:04:54PM +0200, Peter Krempa wrote: Refactor code paths which clear strings on cleanup paths to use the automatic helper. Signed-off-by: Peter Krempa --- src/libxl/libxl_conf.c| 3 +-- src/qemu/qemu_command.c | 3 +--

[libvirt] [PATCH 03/10] Use VIR_AUTODISPOSE_STR instead of VIR_DISPOSE_STRING where possible

2019-04-01 Thread Peter Krempa
Refactor code paths which clear strings on cleanup paths to use the automatic helper. Signed-off-by: Peter Krempa --- src/libxl/libxl_conf.c| 3 +-- src/qemu/qemu_command.c | 3 +-- src/rpc/virnetlibsshsession.c | 10 +++--- src/storage/storage_backend_rbd.c | 3