diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c index 27a237d48ed701ccee4e65449073beb8166feffa..d657c7f171470423e44bb21714e34d20f7e4db59 100644 --- a/src/conf/domain_addr.c +++ b/src/conf/domain_addr.c @@ -873,6 +873,7 @@ virDomainVirtioSerialAddrSetFree(virDomainVirtioSerialAddrSetPtr addrs) if (addrs) { for (i = 0; i < addrs->ncontrollers; i++) virDomainVirtioSerialControllerFree(addrs->controllers[i]); + VIR_FREE(addrs->controllers); VIR_FREE(addrs); } }