eda1a62 secret: Use virSecretDefPtr rather than deref from virSecretObjPtr

Authored and Committed by John Ferlan 7 years ago
    secret: Use virSecretDefPtr rather than deref from virSecretObjPtr
    
    Rather than dereferencing obj->def->X, create a local 'def' variable
    that will dereference the def and use directly.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    
        
file modified
+40 -23