diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-04-18 09:07:51 +0200 |
---|---|---|
committer | Greg Ungerer <gerg@kernel.org> | 2020-05-25 10:32:20 +1000 |
commit | c3f4ec050f56eeab7c1f290321f9b762c95bd332 (patch) | |
tree | cf1cc87b4050f88e7d6f39f1c25e2965f35262fb /net/sched | |
parent | 9cb1fd0efd195590b828b9b865421ad345a4a145 (diff) | |
download | linux-c3f4ec050f56eeab7c1f290321f9b762c95bd332.tar.bz2 |
m68k/PCI: Fix a memory leak in an error handling path
If 'ioremap' fails, we must free 'bridge', as done in other error handling
path bellow.
Fixes: 19cc4c843f40 ("m68k/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions