net: seeq: Fix the function used to release some memory in an error handling path