diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-04-27 16:20:02 +0200 |
|---|---|---|
| committer | Eric Blake | 2018-05-04 15:23:26 +0200 |
| commit | 16a2227893dc1d5cad78ed376ad1d7e300978fbe (patch) | |
| tree | 327661a961e3c9142e51b611411247b1f1b1e287 /include/exec/memory.h | |
| parent | nbd/client: fix nbd_negotiate_simple_meta_context (diff) | |
| download | qemu-16a2227893dc1d5cad78ed376ad1d7e300978fbe.tar.gz qemu-16a2227893dc1d5cad78ed376ad1d7e300978fbe.tar.xz qemu-16a2227893dc1d5cad78ed376ad1d7e300978fbe.zip | |
migration/block-dirty-bitmap: fix memory leak in dirty_bitmap_load_bits
Release buf on error path too.
Bug was introduced in b35ebdf076d697bc "migration: add postcopy
migration of dirty bitmaps" with the whole function.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180427142002.21930-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
