[PATCH 5.12 526/700] tty: nozomi: Fix a resource leak in an error handling function