Deleting pointer that caused some leaks
Merge pull request #5 from newman/next

Deleting pointer that caused some leaks