]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Use virDomainChrSourceDefNew for virDomainRNGDef allocation
authorJohn Ferlan <jferlan@redhat.com>
Fri, 21 Oct 2016 22:33:41 +0000 (18:33 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Oct 2016 10:44:23 +0000 (06:44 -0400)
commit526acb6a7f068c833870eabced8f2201f84f7ddc
treec6757069769e821f5ecbf6830db69b9f23e69441
parent99382262517d9c2d8912d462b889e2c4a7cbdc4d
conf: Use virDomainChrSourceDefNew for virDomainRNGDef allocation

Rather than VIR_ALLOC() the data, use virDomainChrSourceDefNew in order
to get the private data if necessary.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c