1. Fixed deleting of pointer.