Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ ~Ptr
Method
~Ptr
include/tscore/Ptr.h:226–231 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
224
}
225
226
template <class T> inline Ptr<T>::~Ptr()
227
{
228
if (m_ptr && m_ptr->refcount_dec() == 0) {
229
m_ptr->free();
230
}
231
}
232
233
template <class T>
234
inline Ptr<T> &
Callers
1
Ptr.h
File · 0.80
Calls
2
refcount_dec
Method · 0.80
free
Method · 0.45
Tested by
no test coverage detected