Re: [PATCH] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-16 Thread Luis Henriques
Vivek Goyal writes: > On Tue, Mar 16, 2021 at 05:02:34PM +, Luis Henriques wrote: >> When accidentally passing twice the same tag to qemu, kmemleak ended up >> reporting a memory leak in virtiofs. Also, looking at the log I saw the >> following error (that's when I realised the duplicated

Re: [PATCH] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-16 Thread Vivek Goyal
On Tue, Mar 16, 2021 at 05:02:34PM +, Luis Henriques wrote: > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe

[PATCH] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-16 Thread Luis Henriques
When accidentally passing twice the same tag to qemu, kmemleak ended up reporting a memory leak in virtiofs. Also, looking at the log I saw the following error (that's when I realised the duplicated tag): virtiofs: probe of virtio5 failed with error -17 Here's the kmemleak log for reference: