MCPcopy Create free account
hub / github.com/catboost/catboost / fts_lfree

Function fts_lfree

util/folder/fts.cpp:1268–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268static void
1269fts_lfree(FTSENT* head)
1270{
1271 FTSENT* p;
1272
1273 /* Free a linked list of structures. */
1274 while ((p = head) != nullptr) {
1275 head = head->fts_link;
1276 free(p);
1277 }
1278}
1279
1280/*
1281 * Allow essentially unlimited paths; find, rm, ls should all work on any tree.

Callers 5

yfts_openFunction · 0.85
yfts_closeFunction · 0.85
yfts_readFunction · 0.85
yfts_childrenFunction · 0.85
fts.cppFile · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected