vxge: Fix a possible memory leak in vxge_hw_device_initialize().
authorSreenivasa Honnur <sreenivasa.honnur@exar.com>
Thu, 8 Apr 2010 08:44:39 +0000 (01:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2010 08:48:06 +0000 (01:48 -0700)
commitaaffbd9f7734721bf42d246eb31fc79d7adb2cb9
tree2fdff99d9a570828d30755081b742261d2e7bab3
parent4d8dc679084d8dd7b81b2ae245844246deb0759c
vxge: Fix a possible memory leak in vxge_hw_device_initialize().

- Fix a possible memory leak in vxge_hw_device_initialize(). Free hldev if
vxge_hw_device_reg_addr_get() fails.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@exar.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.c