summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorMax Reitz2014-08-20 19:59:33 +0200
committerStefan Hajnoczi2014-09-22 12:39:32 +0200
commit7b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa (patch)
treea83325c07823caa9a7efb2cc6763c95c84f2bf13 /scripts/qapi-visit.py
parenthmp: fix memory leak at hmp_info_block_jobs() (diff)
downloadqemu-7b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa.tar.gz
qemu-7b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa.tar.xz
qemu-7b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa.zip
qcow2: Fix leak of QemuOpts in qcow2_open()
Currently, the QemuOpts object opts is leaked if anything fails from its creation up to and including the image repair block. Fix this by freeing that object in the fail path. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com> Message-id: 1408557576-14574-2-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions