[PATCH 002/137] firestream: fix memory leaks