[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in resource attach
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in resource attach backing |
Date: |
Tue, 03 Jan 2017 10:41:44 +0100 |
> > + if (res->iov) {
> > + cmd->error = VIRTIO_GPU_RESP_ERR_UNSPEC;
> > + return;
> > + }
> > +
>
> I think I would rather return an error in the library for this case.
-ENOLIBRARY ;)
This is the 2d mode code, so virglrenderer isn't involved at all.
Added patch to the queue (and the 3d one too).
thanks,
Gerd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] virtio-gpu: fix memory leak in resource attach backing,
Gerd Hoffmann <=