net/nfp: fix possible memory leak
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Wed, 8 Nov 2017 14:42:23 +0000 (14:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Nov 2017 09:31:24 +0000 (09:31 +0000)
commit7c90eef52f5bda290861827a6e732c1a0617162c
tree7654ac8b3e59c5b891cfcbf3d6866bd0b84146ac
parentfee720e9292529c08f6a80ed05bd47d559812916
net/nfp: fix possible memory leak

Memory allocated was not being released in any exit path.

Coverity issue: 195030
Fixes: 48e2255f1b63 ("net/nfp: add NSP support for HW link configuration")

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_nspu.c