[PATCH 4.4 079/131] stm class: Do not leak the chrdev in error path