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

Function msFreeLabelCache

mapfile.c:5195–5206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5193}
5194
5195int msFreeLabelCache(labelCacheObj *cache) {
5196 int p;
5197
5198 for(p=0; p<MS_MAX_LABEL_PRIORITY; p++) {
5199 if (msFreeLabelCacheSlot(&(cache->slots[p])) != MS_SUCCESS)
5200 return MS_FAILURE;
5201 }
5202
5203 cache->numlabels = 0;
5204
5205 return MS_SUCCESS;
5206}
5207
5208int msInitLabelCacheSlot(labelCacheSlotObj *cacheslot) {
5209

Callers 2

msFreeMapFunction · 0.85
labelCacheObj_freeCacheFunction · 0.85

Calls 1

msFreeLabelCacheSlotFunction · 0.85

Tested by

no test coverage detected