diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-09-15 09:23:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-10-08 10:31:35 +0200 |
commit | 7f3be0f20ff8d976ab982cc06026cac0600f1fb6 (patch) | |
tree | d0dd824378e0c3d14a3244536d073be4631520d6 /target-tilegx | |
parent | 06020b950c0a6a73cbee0527af846b05679c937a (diff) |
virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov
For symmetry reasons: virtio_gpu_create_mapping_iov() allocates it so
virtio_gpu_cleanup_mapping_iov() should free it, otherwise it's easy to
miss a free() needed and leak memory.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'target-tilegx')
0 files changed, 0 insertions, 0 deletions