diff --git a/src/qemu/qemu_migration_cookie.c b/src/qemu/qemu_migration_cookie.c index 945530c409..5a1e299ca2 100644 --- a/src/qemu/qemu_migration_cookie.c +++ b/src/qemu/qemu_migration_cookie.c @@ -900,6 +900,7 @@ qemuMigrationCookieNetworkXMLParse(xmlXPathContextPtr ctxt) goto error; } optr->net[i].vporttype = virNetDevVPortTypeFromString(vporttype); + VIR_FREE(vporttype); } VIR_FREE(interfaces);