I think the answer is not necessarily as simple as that. If you can avoid using pointers at all that is often even better. And when people recommend smart pointers I think they mean std::unique_ptr 99% of the time.
Thank you for your supporting message about the fact.
Dear Peter87
As mentioned by seeplus, the original post was removed.
The original was elememtary question about new/delete memory management and omission of delete statement.
I agree with you, because smart pointer is not a perfect solution for memory leak and has unique problems.