diff options
author | 2015-06-26 17:37:35 +0800 | |
---|---|---|
committer | 2015-07-07 14:27:14 +0100 | |
commit | 970311646a701eecb103eb28093e8924d2fa6861 (patch) | |
tree | b29db635f79eb8297b1fa35a9d60c3eb523e326b /qga/commands-posix.c | |
parent | block/raw-posix: Don't think /dev/fd/<NN> is a floppy drive. (diff) | |
download | qemu-970311646a701eecb103eb28093e8924d2fa6861.tar.xz qemu-970311646a701eecb103eb28093e8924d2fa6861.zip |
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: Ting Wang <kathy.wangting@huawei.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1435311455-56048-1-git-send-email-kathy.wangting@huawei.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions