Removed the global leak warning and applied it to specific lines