vxge: fix memory leak in vxge_alloc_msix() error path
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 24 Jun 2010 04:13:44 +0000 (04:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jun 2010 05:10:04 +0000 (22:10 -0700)
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>

No differences found