tty: Clean up completely if switching vt fails
The code under the "err" label closes the file descriptor and frees the allocated memory.
This commit is contained in:
parent
ef94085ff1
commit
acfb712127
Loading…
Reference in New Issue
Block a user