MCPcopy Index your code
hub / github.com/MapServer/MapServer / clusterTreeNodeDestroyList

Function clusterTreeNodeDestroyList

mapcluster.c:340–353  ·  view source on GitHub ↗

destroy memory of the cluster finalized list (without recursion) */

Source from the content-addressed store, hash-verified

338
339/* destroy memory of the cluster finalized list (without recursion) */
340static void clusterTreeNodeDestroyList(msClusterLayerInfo* layerinfo, clusterTreeNode *node)
341{
342 clusterTreeNode* n = node;
343 clusterTreeNode* next;
344 /* destroy the list of nodes */
345 while (n)
346 {
347 next = n->subnode[0];
348 n->subnode[0] = NULL;
349 clusterTreeNodeDestroy(layerinfo, n);
350 --layerinfo->numFinalizedNodes;
351 n = next;
352 }
353}
354
355void clusterDestroyData(msClusterLayerInfo *layerinfo)
356{

Callers 1

clusterDestroyDataFunction · 0.85

Calls 1

clusterTreeNodeDestroyFunction · 0.85

Tested by

no test coverage detected