diff options
author | Fam Zheng <famz@redhat.com> | 2014-04-29 18:09:09 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-04-29 13:43:00 +0200 |
commit | 373df5b135b4a54e0abb394e9e703fef3ded093c (patch) | |
tree | 150c0807f508d040691ab613a2df40522b211c0e /block/rbd.c | |
parent | e855e4fb7b97f7f605e1f44427b98022e39e6f8f (diff) |
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: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/rbd.c')
0 files changed, 0 insertions, 0 deletions