Hi Gerd,
> > -pixman_image_unref(res->image);
> > +if (res->image) {
> > +pixman_image_unref(res->image);
> > +}
>
> There is qemu_pixman_image_unref().
>
> Like pixman_image_unref except that it also accepts (and ignores) NULL
> pointers.
[Kasireddy, Vivek] Made the change i
Hi,
> -pixman_image_unref(res->image);
> +if (res->image) {
> +pixman_image_unref(res->image);
> +}
There is qemu_pixman_image_unref().
Like pixman_image_unref except that it also accepts (and ignores) NULL
pointers.
> virtio_gpu_cleanup_mapping(g, res);
> QTAILQ