diff options
author | Li Zhijian <lizhijian@cn.fujitsu.com> | 2020-08-27 11:58:55 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-04 10:12:56 +0200 |
commit | eb398a54e33ab2ac9701839be9b660af3e50a32e (patch) | |
tree | a620afa598519e5e6210c7724ff6956f591795f4 /os-win32.c | |
parent | 67a7bfe560a1bba59efab085cb3430f45176d382 (diff) | |
download | qemu-eb398a54e33ab2ac9701839be9b660af3e50a32e.zip qemu-eb398a54e33ab2ac9701839be9b660af3e50a32e.tar.gz qemu-eb398a54e33ab2ac9701839be9b660af3e50a32e.tar.bz2 |
virtio-gpu: fix unmap the already mapped items
we go here either (!(*iov)[i].iov_base) or (len != l), so we need to consider
to unmap the 'i'th item as well when the 'i'th item is not nil
CC: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Message-id: 20200827035855.24354-1-lizhijian@cn.fujitsu.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'os-win32.c')
0 files changed, 0 insertions, 0 deletions