2a1ae8f lib: Preserve error around virDomainNetReleaseActualDevice()

Authored and Committed by mprivozn 4 years ago
    lib: Preserve error around virDomainNetReleaseActualDevice()
    
    This function is calling public API virNetworkLookupByName()
    which resets the error. Therefore, if
    virDomainNetReleaseActualDevice() is used in cleanup path it
    actually resets the original error that got us jump into
    'cleanup' label.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+6 -0
file modified
+3 -0
file modified
+3 -0
file modified
+6 -0