From: Marc Hartmayer <mhartmay(a)linux.vnet.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay(a)linux.ibm.com>
---
src/util/virtypedparam.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/util/virtypedparam.c b/src/util/virtypedparam.c
index c5fc68418c35..ef84642ee989 100644
--- a/src/util/virtypedparam.c
+++ b/src/util/virtypedparam.c
@@ -1467,6 +1467,7 @@ virTypedParamsDeserialize(virTypedParameterRemotePtr remote_params,
} else {
virTypedParamsFree(*params, i);
*params = NULL;
+ *nparams = 0;
}
}
return rv;
--
2.13.4