diff options
| author | Jesper Juhl <[email protected]> | 2008-03-21 23:07:13 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-04-21 04:47:08 +0000 |
| commit | 029c3c133ba2c3e0e48fdfacc08324bb3fa2a571 (patch) | |
| tree | 704a03f0695be7df8d6437ec5a739d2943455875 /net/unix/af_unix.c | |
| parent | PCI: clean up resource alignment management (diff) | |
| download | kernel-029c3c133ba2c3e0e48fdfacc08324bb3fa2a571.tar.gz kernel-029c3c133ba2c3e0e48fdfacc08324bb3fa2a571.zip | |
PCI: Hotplug: Fix leaks in IBM Hot Plug Controller Driver - ibmphp_init_devno()
In drivers/pci/hotplug/ibmphp_core.c::ibmphp_init_devno() we allocate
space dynamically for a PCI irq routing table by calling
pcibios_get_irq_routing_table(), but we never free the allocated space.
This patch frees the allocated space at the function exit points.
Spotted by the Coverity checker. Compile tested only.
Please consider applying.
Signed-off-by: Jesper Juhl <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
