diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2010-06-24 08:13:44 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-27 09:10:04 +0400 |
commit | cc413d9097dfc6237f37dcaf52346db1061a6119 (patch) | |
tree | cc85bed1040342b75785fc85fcb013ae0d0e0595 /drivers/isdn/hysdn/hysdn_net.c | |
parent | 1b4843c5e8cbab86830da8a53b8288882060c059 (diff) | |
download | linux-cc413d9097dfc6237f37dcaf52346db1061a6119.tar.xz |
vxge: fix memory leak in vxge_alloc_msix() error path
When pci_enable_msix() returned ret<0, entries and vxge_entries were leaked.
While at it, use the centralized exit idiom in the function.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_net.c')
0 files changed, 0 insertions, 0 deletions