Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio-user: fix leak when initialisation fails
[ upstream commit c8254ef1a96c4897293b1d1db8c8a786dfb19e9d ] Caught with ASan. If initialising a virtio_user port fails, we may leak the ifname passed via a devargs. Fixes: 4214a1b ("net/virtio-user: support changing tap interface name") Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
- Loading branch information