[PATCH 5.1 033/122] stm class: Fix channel free in stm output free path