Skip to content
Commit 373df5b1 authored by Fam Zheng's avatar Fam Zheng Committed by Kevin Wolf
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>
parent e855e4fb
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