526acb6 conf: Use virDomainChrSourceDefNew for virDomainRNGDef allocation

Authored and Committed by John Ferlan 7 years ago
    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>
    
        
file modified
+7 -6