diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c index c533edb4ff..c9cddaca7b 100644 --- a/src/conf/domain_addr.c +++ b/src/conf/domain_addr.c @@ -1360,6 +1360,7 @@ virDomainUSBAddressHubFree(virDomainUSBAddressHubPtr hub) for (i = 0; i < hub->nports; i++) virDomainUSBAddressHubFree(hub->ports[i]); + VIR_FREE(hub->ports); virBitmapFree(hub->portmap); VIR_FREE(hub); }