diff options
Diffstat (limited to 'drivers/net/vxge/vxge-config.c')
-rw-r--r-- | drivers/net/vxge/vxge-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/vxge/vxge-config.c b/drivers/net/vxge/vxge-config.c index ec4408ceef18..66dd5893c2d3 100644 --- a/drivers/net/vxge/vxge-config.c +++ b/drivers/net/vxge/vxge-config.c | |||
@@ -634,8 +634,10 @@ vxge_hw_device_initialize( | |||
634 | __vxge_hw_device_pci_e_init(hldev); | 634 | __vxge_hw_device_pci_e_init(hldev); |
635 | 635 | ||
636 | status = __vxge_hw_device_reg_addr_get(hldev); | 636 | status = __vxge_hw_device_reg_addr_get(hldev); |
637 | if (status != VXGE_HW_OK) | 637 | if (status != VXGE_HW_OK) { |
638 | vfree(hldev); | ||
638 | goto exit; | 639 | goto exit; |
640 | } | ||
639 | __vxge_hw_device_id_get(hldev); | 641 | __vxge_hw_device_id_get(hldev); |
640 | 642 | ||
641 | __vxge_hw_device_host_info_get(hldev); | 643 | __vxge_hw_device_host_info_get(hldev); |