Added destructor
- Added missing delete