MCPcopy Create free account
hub / github.com/apache/trafficserver / _Clear

Method _Clear

include/tscore/Trie.h:223–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222template <typename T>
223void
224Trie<T>::_Clear(Node *node)
225{
226 Node *child;
227
228 for (int i = 0; i < N_NODE_CHILDREN; ++i) {
229 child = node->GetChild(i);
230 if (child) {
231 _Clear(child);
232 ats_free(child);
233 }
234 }
235}
236
237template <typename T>
238void

Callers

nothing calls this directly

Calls 2

ats_freeFunction · 0.85
GetChildMethod · 0.80

Tested by

no test coverage detected