diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index d9458a3d31..aa168e5bba 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -7532,7 +7532,7 @@ cmdIOThreadInfo(vshControl *ctl, const vshCmd *cmd) bool live = vshCommandOptBool(cmd, "live"); bool current = vshCommandOptBool(cmd, "current"); size_t niothreads = 0; - virDomainIOThreadInfoPtr *info; + virDomainIOThreadInfoPtr *info = NULL; size_t i; unsigned int flags = VIR_DOMAIN_AFFECT_CURRENT; vshTablePtr table = NULL;