2016-12-29 21:56 GMT+08:00 Marc-André Lureau :
> Hi
>
> - Original Message -
> > If the virgl_renderer_resource_attach_iov function fails the
> > 'res_iovs' will be leaked. Add check of the return value to
> > free the 'res_iovs' when failing.
> >
> > Signed-off-by: Li Qiang
>
> Reviewed-
Hi
- Original Message -
> If the virgl_renderer_resource_attach_iov function fails the
> 'res_iovs' will be leaked. Add check of the return value to
> free the 'res_iovs' when failing.
>
> Signed-off-by: Li Qiang
Reviewed-by: Marc-André Lureau
Interestingly, in vrend_renderer_resource
If the virgl_renderer_resource_attach_iov function fails the
'res_iovs' will be leaked. Add check of the return value to
free the 'res_iovs' when failing.
Signed-off-by: Li Qiang
---
hw/display/virtio-gpu-3d.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/display/