[PATCH 5.0 029/139] stm class: Fix channel free in stm output free path