[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 10/12] virsh: Use virTypedParams* APIs in cpu-stats



---
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]