Fixed a cleanup leak