diff options
| author | Stefan Hajnoczi | 2013-10-30 14:54:30 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-11-07 13:53:31 +0100 |
| commit | ec9c10d29c6bb5613a680af62f5825d3bb2d31d4 (patch) | |
| tree | 33ed841f56b47e80e89545483890cff3c0bf5336 /tests/libqtest.h | |
| parent | block: qemu-iotests, add quotes to $TEST_IMG usage in 061 (diff) | |
| download | qemu-ec9c10d29c6bb5613a680af62f5825d3bb2d31d4.tar.gz qemu-ec9c10d29c6bb5613a680af62f5825d3bb2d31d4.tar.xz qemu-ec9c10d29c6bb5613a680af62f5825d3bb2d31d4.zip | |
blockdev: fix drive_init() opts and bs_opts leaks
These memory leaks also make drive_add if=none,id=drive0 without a file=
option leak the options list. This keeps ID "drive0" around forever.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/libqtest.h')
0 files changed, 0 insertions, 0 deletions
