diff options
author | Kevin Wolf <mail@kevin-wolf.de> | 2010-09-10 12:27:03 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-09-21 15:39:42 +0200 |
commit | 9217e26f43df4aab7deaea35b21caacc1f1f854b (patch) | |
tree | 49a5d0c5ac30f47465d93489d7933b418c8eda2a /tcg-runtime.c | |
parent | ac48e389d073bf2c8703745eef4824fabe0427ba (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>
Diffstat (limited to 'tcg-runtime.c')
0 files changed, 0 insertions, 0 deletions