migration/block-dirty-bitmap: fix memory leak in dirty_bitmap_load_bits
Release buf on error path too. Bug was introduced in b35ebdf0 "migration: add postcopy migration of dirty bitmaps" with the whole function. Signed-off-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20180427142002.21930-3-vsementsov@virtuozzo.com> Reviewed-by: NEric Blake <eblake@redhat.com> CC: qemu-stable@nongnu.org Signed-off-by: NEric Blake <eblake@redhat.com> (cherry picked from commit 16a22278) Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录