channels: fix memory leak in stream pools.
Merge pull request #2066 from llyzs/llyzs

channels: fix memory leak in stream pools.