Home
last modified time | relevance | path

Searched hist:"7 b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dqcow2.c7b17ce60cc58b3c20b3e708a2d69f6bbe2b4edfa Wed Aug 20 17:59:33 UTC 2014 Max Reitz <mreitz@redhat.com> 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>