[libvirt] [PATCH 6/6] lib: Define and use autofree for virConfPtr

Pavel Hrdina phrdina at redhat.com
Tue Sep 10 07:36:25 UTC 2019


On Mon, Sep 09, 2019 at 06:00:27PM +0200, Michal Privoznik wrote:
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/bhyve/bhyve_conf.c            | 10 +---
>  src/libvirt-admin.c               |  3 +-
>  src/libvirt.c                     |  4 +-
>  src/libxl/libxl_conf.c            | 22 +++-----
>  src/libxl/libxl_driver.c          |  8 +--
>  src/libxl/xen_xl.c                | 33 +++++------
>  src/libxl/xen_xm.c                | 19 +++----
>  src/locking/lock_daemon_config.c  |  7 +--
>  src/locking/lock_driver_lockd.c   | 18 +++---
>  src/locking/lock_driver_sanlock.c |  3 +-
>  src/logging/log_daemon_config.c   |  7 +--
>  src/lxc/lxc_conf.c                | 16 ++----
>  src/lxc/lxc_native.c              | 15 ++---
>  src/qemu/qemu_conf.c              | 47 +++++++---------
>  src/remote/remote_daemon_config.c | 14 ++---
>  src/security/security_selinux.c   |  4 +-
>  src/util/virconf.h                |  2 +
>  src/vmx/vmx.c                     |  3 +-
>  tests/virconftest.c               | 93 +++++++++++++------------------
>  tests/xlconfigtest.c              |  8 +--
>  tests/xmconfigtest.c              |  8 +--
>  tools/virt-login-shell-helper.c   |  3 +-
>  22 files changed, 133 insertions(+), 214 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190910/99c2391d/attachment-0001.sig>


More information about the libvir-list mailing list