diff --git a/daemon/remote.c b/daemon/remote.c index 6b082cf1f62b441eb9bac27eec409eabd704ce9e..3ac528c6101a14f41b0f785d2961656d1b759613 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -1146,7 +1146,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; size_t i; int rv = -1;