conf: Fix one memory leak

Free def->numatune.memory.nodemask in virDomainDefFree.
This commit is contained in:
Osier Yang 2011-06-21 16:03:59 +08:00
parent b1ede4cf9c
commit 9a2ac25a63

View File

@ -1092,6 +1092,8 @@ void virDomainDefFree(virDomainDefPtr def)
virDomainVcpupinDefFree(def->cputune.vcpupin, def->cputune.nvcpupin);
VIR_FREE(def->numatune.memory.nodemask);
virSysinfoDefFree(def->sysinfo);
if (def->namespaceData && def->ns.free)