Fix major memory leak!