logic error in shout_free()
A logic error in shout_free() prevents memory from being released unless there is an active connection. It should be reversed. This is a regression that was introduced with the switch to the new internal state machine.
Proposed fix: shout_free_logic_error_fix.diff