Fixed memory leak!