]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Plug memory leak on qcow2_invalidate_cache() error paths
authorMarkus Armbruster <armbru@redhat.com>
Wed, 28 May 2014 09:16:56 +0000 (11:16 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 5 Aug 2014 16:43:00 +0000 (11:43 -0500)
commit207f61dc286fbcb322514007778b99d20e48416b
treea53ef7e1d1fd542b15aa68dca9f6c1975c25eba6
parentd1567e298094a496ad5dc81c9a360dfab98a214d
qcow2: Plug memory leak on qcow2_invalidate_cache() error paths

Introduced in commit 5a8a30d.  Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit a1904e48c4a9fb114d155419700bfb7d760273b9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/qcow2.c