MCPcopy Create free account
hub / github.com/apache/trafficserver / ~Data

Method ~Data

plugins/slice/Data.h:121–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 ~Data()
122 {
123 if (nullptr != m_urlbuf) {
124 if (nullptr != m_urlloc) {
125 TSHandleMLocRelease(m_urlbuf, TS_NULL_MLOC, m_urlloc);
126 m_urlloc = nullptr;
127 }
128 TSMBufferDestroy(m_urlbuf);
129 m_urlbuf = nullptr;
130 }
131 if (nullptr != m_http_parser) {
132 TSHttpParserDestroy(m_http_parser);
133 m_http_parser = nullptr;
134 }
135 }
136};

Callers 1

Errata.hFile · 0.80

Calls 3

TSHandleMLocReleaseFunction · 0.85
TSMBufferDestroyFunction · 0.85
TSHttpParserDestroyFunction · 0.85

Tested by

no test coverage detected