diff --git a/daemon/remote.c b/daemon/remote.c index 8dc7c37e76407da8923e53f815c983d7c1fb0700..cb0ac78c871240dd7af7177c0fa67c3353c41305 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -1127,7 +1127,7 @@ remoteDispatchDomainMemoryStats(virNetServerPtr server ATTRIBUTE_UNUSED, remote_domain_memory_stats_ret *ret) { virDomainPtr dom = NULL; - struct _virDomainMemoryStat *stats; + struct _virDomainMemoryStat *stats = NULL; int nr_stats, i; int rv = -1; struct daemonClientPrivate *priv =