> On Sun, Dec 20, 2020 at 03:05:40PM +0800, Dinghao Liu wrote:
> > When do_ide_setup_pci_device() fails, host allocated
> > by ide_host_alloc() may not have been freed, which
> > leads to memleak.
> >
> > Signed-off-by: Dinghao Liu
> > ---
> > drivers/ide/setup-pci.c | 8
> > 1 file
On Sun, Dec 20, 2020 at 03:05:40PM +0800, Dinghao Liu wrote:
> When do_ide_setup_pci_device() fails, host allocated
> by ide_host_alloc() may not have been freed, which
> leads to memleak.
>
> Signed-off-by: Dinghao Liu
> ---
> drivers/ide/setup-pci.c | 8
> 1 file changed, 4
When do_ide_setup_pci_device() fails, host allocated
by ide_host_alloc() may not have been freed, which
leads to memleak.
Signed-off-by: Dinghao Liu
---
drivers/ide/setup-pci.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ide/setup-pci.c
When do_ide_setup_pci_device() fails, host should be
freed just like when ide_host_register() fails.
Signed-off-by: Dinghao Liu
---
drivers/ide/setup-pci.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
index
4 matches
Mail list logo