Skip to content
Commit 520b3412 authored by Fam Zheng's avatar Fam Zheng Committed by Michael Roth
Browse files

mirror: Fix resource leak when bdrv_getlength fails



The direct return will skip releasing of all the resouces at
immediate_exit, don't miss that.

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
(cherry picked from commit 373df5b1)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent e0efb023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment