This patch fixes the Leonis resource ops setup error path. It releases
the calloc()-allocated table with free() and clears the pointer.

Dimon Zhao (1):
  net/nbl: fix Leonis resource ops cleanup

 drivers/net/nbl/nbl_hw/nbl_hw_leonis/nbl_res_leonis.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.53.0

Reply via email to