On 24.09.2015 11:04, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > hw/display/virtio-gpu.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Max Reitz You could even make the parameter a struct iovec **, which is then set to NULL by virtio_gpu_cleanup_mapping_iov() itself (because both callers set their iovec pointer to NULL).