[PATCH] tty: Fix two reported pid leaks