[libvirt PATCH] tools: use g_autofree more
Michal Prívozník
mprivozn at redhat.com
Wed Feb 1 16:55:09 UTC 2023
On 2/1/23 16:11, Ján Tomko wrote:
> Remove some obvious uses of VIR_FREE in favor of automatic cleanup.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> tools/virsh-domain-monitor.c | 5 +----
> tools/virsh-domain.c | 37 +++++++++----------------------
> tools/virsh-network.c | 6 ++---
> tools/virsh-nwfilter.c | 3 +--
> tools/virt-admin.c | 13 ++++-------
> tools/virt-host-validate-common.c | 6 ++---
> 6 files changed, 20 insertions(+), 50 deletions(-)
>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list