removed memory leaks in leecher