Remove gigantic memory leak