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>