On Wed, Sep 21, 2016 at 06:57:37PM +0200, Greg Kurz wrote:
> if (elem->in_num < 1) {
> - error_report("virtio-net receive queue contains no in buffers");
> - exit(1);
> + virtio_error(vdev,
> + "virtio-net receive queue contains no in buffers");
> + return -1;Missing detach and free to avoid leaking elem.
signature.asc
Description: PGP signature
