shared_ptr::~shared_ptr

~shared_ptr();

The destructor releases the resource owned by *this.