conf: Avoid leaking of RNG device definition
This commit is contained in:
parent
19c6ad9ac7
commit
34f1a618a5
@ -1775,6 +1775,8 @@ void virDomainDefFree(virDomainDefPtr def)
|
|||||||
virDomainRedirdevDefFree(def->redirdevs[i]);
|
virDomainRedirdevDefFree(def->redirdevs[i]);
|
||||||
VIR_FREE(def->redirdevs);
|
VIR_FREE(def->redirdevs);
|
||||||
|
|
||||||
|
virDomainRNGDefFree(def->rng);
|
||||||
|
|
||||||
VIR_FREE(def->os.type);
|
VIR_FREE(def->os.type);
|
||||||
VIR_FREE(def->os.machine);
|
VIR_FREE(def->os.machine);
|
||||||
VIR_FREE(def->os.init);
|
VIR_FREE(def->os.init);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user