commit | 345a6d2b54f0c3705a088e626d24e9376ff4f233 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <mail@kevin-wolf.de> | Fri Sep 10 12:27:03 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Sep 13 14:35:01 2010 +0200 |
tree | 1fedc1fb2d4b9c9c7bc25c81bcebc9c3f816ac45 | |
parent | 1b191088aed81f1b3661b1554f98a038872a9423 [diff] |
vvfat: Fix double free for opening the image rw Allocation and deallocation of bs->opaque is not in the control of a block driver. Therefore it should not set bs->opaque to a data structure used by another bs, or closing the image will lead to a double free. Signed-off-by: Kevin Wolf <mail@kevin-wolf.de> (cherry picked from commit 0af1e52e93bf5da63b15f1f9596dd4c076da07dc)