--- tools/virsh-domain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index bcb855f..9d50298 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5409,8 +5409,7 @@ do_show_total: VIR_FREE(s); } } - virTypedParameterArrayClear(params, nparams); - VIR_FREE(params); + virTypedParamsFree(params, nparams); cleanup: virDomainFree(dom); -- 1.8.1.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list