Skip to content
Snippets Groups Projects
Commit 97031164 authored by Ting Wang's avatar Ting Wang Committed by Stefan Hajnoczi
Browse files

blockjob: add block_job_release function


There is job resource leak in function mirror_start_job,
although bdrv_create_dirty_bitmap is unlikely failed.
Add block_job_release for each release when needed.

Signed-off-by: default avatarTing Wang <kathy.wangting@huawei.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Message-id: 1435311455-56048-1-git-send-email-kathy.wangting@huawei.com
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 25d9747b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment